mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
[backend] specify undefined session params
This commit is contained in:
parent
20f9938edf
commit
222ad89c8c
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user