diff --git a/server.js b/server.js index 4a7e989..39a4874 100644 --- a/server.js +++ b/server.js @@ -13,6 +13,7 @@ app.use((req, res, next) => { next(); }); +app.set('trust proxy', 1); app.use(express.json()); const STATIC_DIR = process.env.STATIC_DIR || 'public'