diff options
author | Julien Dessaux | 2022-11-01 01:46:40 +0100 |
---|---|---|
committer | Julien Dessaux | 2022-11-01 01:46:40 +0100 |
commit | 352fdde60b2e342dd142fb47c40c3ec1d5e3460a (patch) | |
tree | 54db833f82441097d130af751ddf10fda23b5298 /main.js | |
parent | Added logout route, and a way to display the logout menu item on relevant pages (diff) | |
download | jeux-de-mots-352fdde60b2e342dd142fb47c40c3ec1d5e3460a.tar.gz jeux-de-mots-352fdde60b2e342dd142fb47c40c3ec1d5e3460a.tar.bz2 jeux-de-mots-352fdde60b2e342dd142fb47c40c3ec1d5e3460a.zip |
Also clear browser cookie on logout
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -7,6 +7,7 @@ import playRouter from "./routes/play.js"; import rootRouter from "./routes/root.js"; const app = express(); +app.set("trust proxy", 1); app.use(helmet); app.set("views", "./views"); |