revert fix
This commit is contained in:
2025-07-21 22:50:36 +08:00
parent bfb165a9b8
commit 9bc42496f5
2 changed files with 24 additions and 24 deletions

View File

@@ -20,7 +20,7 @@ const app = express();
const PORT = process.env.PORT || 3001;
// 信任代理确保正确获取客户端IP地址
app.set('trust proxy', '154.17.226.99');
app.set('trust proxy', true);
// Security middleware
app.use(helmet());