This commit is contained in:
2025-07-21 22:30:43 +08:00
parent 0fe89e1fbb
commit 3e4f9ad660
2 changed files with 27 additions and 27 deletions

View File

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