perf: 配置文件调整

This commit is contained in:
TsMask
2025-03-17 19:21:52 +08:00
parent c20a3e5f04
commit a27e1d243c
9 changed files with 21 additions and 54 deletions

View File

@@ -36,7 +36,7 @@ func AppEngine() *gin.Engine {
machine.Launch()
// 读取服务配置
app.ForwardedByClientIP = config.Get("server.proxy").(bool)
app.ForwardedByClientIP = true
return app
}