Browse Source

oops set cookie back to secure to test prcxy #

master
Rich Brown 11 months ago
parent
commit
421de7d3bb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/index.js

+ 1
- 1
src/index.js View File

@@ -38,7 +38,7 @@ app.use(routesArray, session({
store,
resave: false, // TODO: testing
saveUninitialized: false, // seems okay
cookie: { secure: false, maxAge: 1000 * 60 * 60 * 3, sameSite: false }, // TODO: reverting to false
cookie: { secure: true, maxAge: 1000 * 60 * 60 * 3, sameSite: false }, // TODO: testing true
}));

app.use((req, res, next) => {


Loading…
Cancel
Save