[backend] specify undefined session params
This commit is contained in:
parent
be8e3150a6
commit
057affe860
|
@ -15,6 +15,8 @@ app.use(cookieParser());
|
|||
app.use(session({
|
||||
secret: process.env.SECRET,
|
||||
cookie: {},
|
||||
resave: false,
|
||||
saveUninitialized: false,
|
||||
}));
|
||||
|
||||
app.use(async function (req, res, next) {
|
||||
|
|
Reference in New Issue