mirror of
https://github.com/originalmk/skrytka-app.git
synced 2024-11-20 10:28:50 +00:00
Merge branch 'main' of https://github.com/Skrytka-App/Skrytka.App
This commit is contained in:
commit
c3d013d6b8
@ -6,3 +6,4 @@
|
|||||||
DB_HOST=localhost
|
DB_HOST=localhost
|
||||||
DB_PORT=5432
|
DB_PORT=5432
|
||||||
DB_NAME=skrytka
|
DB_NAME=skrytka
|
||||||
|
# COOKIE_SECRET=SOMESECRET
|
||||||
|
2
app.js
2
app.js
@ -56,7 +56,7 @@ app.use(session({
|
|||||||
pgPromise: db,
|
pgPromise: db,
|
||||||
tableName: 'user_session'
|
tableName: 'user_session'
|
||||||
}),
|
}),
|
||||||
secret: 'tujakistajnysekretnietakijakto',
|
secret: `${process.env.COOKIE_SECRET}`,
|
||||||
resave: false,
|
resave: false,
|
||||||
saveUninitialized: false,
|
saveUninitialized: false,
|
||||||
cookie: {
|
cookie: {
|
||||||
|
Loading…
Reference in New Issue
Block a user