mirror of
https://github.com/Metastem/wikiless
synced 2024-12-06 19:16:58 +01:00
hotfix
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ if(config.redirect_http_to_https) {
|
||||
app.use(compression())
|
||||
app.use(cookieParser())
|
||||
app.use(bodyParser.urlencoded({ extended: true, limit: '10mb' }))
|
||||
app.use(session({ secret: process.env['SECRET'], cookie: secure; httpOnly { maxAge: 60000 } }))
|
||||
app.use(session({ secret: process.env['SECRET'], cookie: 'secure httponly', maxAge: '60000' }))
|
||||
app.use(csrf())
|
||||
app.use(express.static(path.join(__dirname, '../static')))
|
||||
app.use(express.static(path.join(__dirname, '../media')))
|
||||
|
||||
Reference in New Issue
Block a user