auto commit
This commit is contained in:
parent
2b4c2610c2
commit
f2c3d35f40
@ -20,9 +20,8 @@ module.exports = {
|
||||
expiresIn: process.env.JWT_EXPIRES_IN || "1d",
|
||||
},
|
||||
cors: {
|
||||
origin: process.env.CORS_ORIGIN
|
||||
? process.env.CORS_ORIGIN.split(",")
|
||||
: ["*"],
|
||||
// origin: process.env.CORS_ORIGIN?.split(","),
|
||||
origin: "*",
|
||||
credentials: true,
|
||||
},
|
||||
},
|
||||
@ -42,9 +41,8 @@ module.exports = {
|
||||
expiresIn: process.env.JWT_EXPIRES_IN || "1d",
|
||||
},
|
||||
cors: {
|
||||
origin: process.env.CORS_ORIGIN
|
||||
? process.env.CORS_ORIGIN.split(",")
|
||||
: ["*"],
|
||||
// origin: process.env.CORS_ORIGIN?.split(","),
|
||||
origin: "*",
|
||||
credentials: true,
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user