This commit is contained in:
Ivan 2023-09-11 13:02:47 +03:00
parent 3262ae0230
commit ccb1931d02
Signed by untrusted user who does not match committer: ppechenkoo
GPG Key ID: 0C191B86D9582583

View File

@ -28,7 +28,7 @@ const upload = multer({ storage: storage });
app.use( app.use(
session({ session({
secret: process.env.SSH_PORT, secret: process.env.SEKRET,
resave: false, resave: false,
saveUninitialized: true, saveUninitialized: true,
cookie: { maxAge: 24 * 60 * 60 * 1000 }, cookie: { maxAge: 24 * 60 * 60 * 1000 },