aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-04-23 00:44:23 -0400
committerAdam Soltys <[email protected]>2021-04-27 18:07:15 -0400
commit20273701d1cf75ef7540ba2e7b90554c0b17c41c (patch)
tree3543e736c52a6d39253c5f3e1266abe565477e0e /index.js
parent2621fec1c189b6de5e3bd2b86b391443ccd7a8a7 (diff)
downloadcoinos-server-20273701d1cf75ef7540ba2e7b90554c0b17c41c.tar.gz
coinos-server-20273701d1cf75ef7540ba2e7b90554c0b17c41c.zip
change cors setting
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index ef30244d..70b9564c 100644
--- a/index.js
+++ b/index.js
@@ -52,7 +52,7 @@ app.use((err, req, res, next) => {
return res.end();
});
app.use(cookieParser());
-// app.use(cors({ credentials: true, origin: "http://*:*" }));
+app.use(cors({ credentials: true, origin: "https://coinos.io" }));
app.use(compression());
server = require("http").Server(app);