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());