diff --git a/server.js b/server.js index 8ce4bce..32ad754 100644 --- a/server.js +++ b/server.js @@ -17,7 +17,7 @@ app.set('trust proxy', 1); app.use(cookieParser(secret.secret)); app.use(session({ - keys: ['key1', 'key2'] + keys: [secret.secret] })); app.use(bodyParser.text());