From 352fdde60b2e342dd142fb47c40c3ec1d5e3460a Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 1 Nov 2022 01:46:40 +0100 Subject: Also clear browser cookie on logout --- main.js | 1 + 1 file changed, 1 insertion(+) (limited to 'main.js') diff --git a/main.js b/main.js index f4bd1a0..63528cc 100644 --- a/main.js +++ b/main.js @@ -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"); -- cgit v1.2.3