用户使用反向代理访问系统时主动引导用户设置“自定义客户端IP报头“

This commit is contained in:
GoEdgeLab
2024-04-08 11:07:51 +08:00
parent fcd69a4e65
commit 94eab14d3d
8 changed files with 59 additions and 3 deletions

View File

@@ -222,4 +222,12 @@ Tea.context(function () {
this.localLowerVersionAPINode.isRestarting = false
})
}
// 关闭XFF提示
this.dismissXFFPrompt = function () {
this.$post("/settings/security/dismissXFFPrompt")
.success(function () {
teaweb.reload()
})
}
})