fix: restore Lite server bootstrap
This commit is contained in:
1 parent
5721a84c54
commit
16f39fc7c6
1 file changed
-4
@@ -1,8 +1,4 @@
|
|||||||
// ============================================================
|
// ============================================================
|
||||||
|
|
||||||
const app = express();
|
|
||||||
// 告诉 Express 信任代理,这样它就能正确获取用户的真实 IP
|
|
||||||
app.set('trust proxy', 1);
|
|
||||||
// Forumlify 后端服务
|
// Forumlify 后端服务
|
||||||
// 一个文件搞定所有 API + 文件服务
|
// 一个文件搞定所有 API + 文件服务
|
||||||
// ============================================================
|
// ============================================================
|
||||||
|
|||||||
Reference in new issue
Block a user