Cleaning code for index.js
This commit is contained in:
12
config/corsOptions.js
Normal file
12
config/corsOptions.js
Normal file
@@ -0,0 +1,12 @@
|
||||
var corsOptions = {
|
||||
origin: [
|
||||
'http://localhost:8080',
|
||||
'http://localhost:3000',
|
||||
"https://social.emmint.com",
|
||||
"https://fellowship.emmint.com",
|
||||
"https://aeropi.local",
|
||||
],
|
||||
credentials: true
|
||||
};
|
||||
|
||||
module.exports = { corsOptions };
|
||||
Reference in New Issue
Block a user