add social subdoimain
This commit is contained in:
2
index.js
2
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());
|
||||
|
||||
Reference in New Issue
Block a user