fixup: some security stuff
This commit is contained in:
parent
f1cafc3f09
commit
35144b34c2
|
@ -31,6 +31,9 @@ module.exports = class Server {
|
|||
secret: crypto.randomBytes(256).toString('hex'),
|
||||
resave: true,
|
||||
saveUninitialized: true,
|
||||
cookie: {
|
||||
httpOnly: true,
|
||||
},
|
||||
}))
|
||||
|
||||
.get('/api/release', (Util.promisify(async () => {
|
||||
|
|
Loading…
Reference in New Issue