Harden local/prod cookie policy and Mongo connection settings

This commit is contained in:
Adolfo Reyna
2026-02-20 19:25:21 -05:00
parent c136d25974
commit ea864b27d4
3 changed files with 33 additions and 8 deletions

View File

@@ -1,6 +1,10 @@
var corsOptions = {
origin: [
'http://localhost:8080',
'http://localhost:8081',
'http://127.0.0.1:3000',
'http://127.0.0.1:8080',
'http://127.0.0.1:8081',
'http://localhost:3000',
"https://social.emmint.com",
"https://fellowship.emmint.com",
@@ -9,4 +13,4 @@ var corsOptions = {
credentials: true
};
module.exports = { corsOptions };
module.exports = { corsOptions };