Browse Source

fixup: some security stuff

pull/686/head
Philip H. 1 year ago
committed by GitHub
parent
commit
35144b34c2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/lib/Server.js

3
src/lib/Server.js

@ -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…
Cancel
Save