From 20273701d1cf75ef7540ba2e7b90554c0b17c41c Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 23 Apr 2021 00:44:23 -0400 Subject: change cors setting --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.js') 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); -- cgit v1.2.3