perf: 配置文件调整
This commit is contained in:
@@ -36,7 +36,7 @@ func AppEngine() *gin.Engine {
|
||||
machine.Launch()
|
||||
|
||||
// 读取服务配置
|
||||
app.ForwardedByClientIP = config.Get("server.proxy").(bool)
|
||||
app.ForwardedByClientIP = true
|
||||
return app
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user