From 7fa6191f96d26b08bc6f642421e151e0ce1443b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferit=20Yi=C4=9Fit=20BALABAN?= Date: Tue, 19 Mar 2024 00:31:00 +0300 Subject: [PATCH] bu ne bilmiyorum da Abdullah MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ferit Yiğit BALABAN --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 9434d2a..2c49f39 100644 --- a/index.js +++ b/index.js @@ -13,6 +13,7 @@ const SERV_PORT = process.env.EMAIL_PORT; const allowedOrigins = process.env.ALLOWED_ORIGINS.split(','); +app.enable('trust proxy'); app.disable('x-powered-by'); app.use(express.json()); app.use(helmet());