From a0e3e9a3f93897c4a77455a1e0fc4ea0f87ed5c3 Mon Sep 17 00:00:00 2001 From: ywp Date: Thu, 23 Oct 2025 10:10:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20server/app.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app.js b/server/app.js index a085579..dde5184 100644 --- a/server/app.js +++ b/server/app.js @@ -11,7 +11,7 @@ const PORT = process.env.PORT || 3001; // 安全中间件 app.use(helmet()); -app.set('trust proxy', true); +app.set('trust proxy', 1); // 跨域配置 app.use(cors({ origin: process.env.FRONTEND_URL || 'https://feishuexcel.kinlim.com',