auto commit

This commit is contained in:
bangdk 2024-11-10 09:42:33 +09:00
parent 2b4c2610c2
commit f2c3d35f40

View File

@ -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,
},
},