mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 21:34:24 +00:00
various bugfixes
This commit is contained in:
@@ -61,15 +61,15 @@ if ( settings.init ) {
|
||||
|
||||
console.log( '[ Server ] loading and initializing middlewares' );
|
||||
// initialise express with middlewares
|
||||
// TODO: Generate random token
|
||||
// TODO: Generate random secret
|
||||
app.use( expressSession( {
|
||||
secret: 'gaoevgoawefgo083tq2rfvöfaf0p8',
|
||||
resave: true,
|
||||
resave: false,
|
||||
saveUninitialized: true,
|
||||
cookie: {
|
||||
sameSite: 'none',
|
||||
httpOnly: true,
|
||||
secure: true,
|
||||
httpOnly: false,
|
||||
secure: false,
|
||||
}
|
||||
} ) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user