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