From a7ca68e6dfc7df4bbfcf3aa2ff77089cee3731e4 Mon Sep 17 00:00:00 2001 From: Adolfo Reyna Date: Mon, 23 Aug 2021 12:26:52 -0700 Subject: [PATCH] add social subdoimain --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5ed3a53..e501319 100644 --- a/index.js +++ b/index.js @@ -8,7 +8,7 @@ const cookieParser = require('cookie-parser'); const cors = require('cors'); var corsOptions = { - origin: 'http://localhost:8080', + origin: ['http://localhost:8080', "https://social.emmint.com"], credentials: true }; app.use(cors(corsOptions)); app.use(bodyParser.json());