From f9765a9e7e4e9d6228a93c1e75b6c2da7abe7d87 Mon Sep 17 00:00:00 2001 From: me Date: Sat, 15 Mar 2025 12:30:45 +0200 Subject: [PATCH] trust proxy --- backend/src/server.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/src/server.mjs b/backend/src/server.mjs index c707cbc..8be2bbc 100644 --- a/backend/src/server.mjs +++ b/backend/src/server.mjs @@ -27,3 +27,5 @@ const corsOptions = { }; app.use(cors(corsOptions)); + +app.set('trust proxy', '127.0.0.1');