fix env
This commit is contained in:
parent
3262ae0230
commit
ccb1931d02
@ -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 },
|
||||||
|
Loading…
Reference in New Issue
Block a user