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