summaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'main.js')
-rw-r--r--main.js1
1 files changed, 1 insertions, 0 deletions
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");