This commit is contained in:
Furrium Network authored and GitHub committed 2026-08-12 16:40:46 +08:00
1 parent 39f219d2ac
commit 1cd6b5c4dd
1 file changed
+4
+4
View File
@@ -1,4 +1,8 @@
// ============================================================
const app = express();
// 告诉 Express 信任代理,这样它就能正确获取用户的真实 IP
app.set('trust proxy', 1);
// Forumlify 后端服务
// 一个文件搞定所有 API + 文件服务
// ============================================================