Initial commit (code only without large binaries)

This commit is contained in:
robin
2026-02-15 18:58:44 +08:00
commit 35df75498f
9442 changed files with 1495866 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
Tea.context(function () {
this.supportHTTPS = false
this.requestHostType = 0
this.requestHost = ""
this.accessLogIsOn = true
this.websocketIsOn = true
this.cacheIsOn = true
this.wafIsOn = true
this.remoteAddrIsOn = true
this.statIsOn = true
this.success = function (resp) {
if (resp.data.hasOSS) {
NotifySuccess("保存成功", "/servers/server/settings/reverseProxy?serverId=" + resp.data.serverId)()
} else {
NotifySuccess("保存成功", "/servers")()
}
}
this.fail = function (resp) {
let that = this
teaweb.warn(resp.message, function () {
if (resp.data.requireServerNames) {
that.$refs.serverNameBox.addServerName()
}
})
}
/**
* 证书相关
*/
this.findServerNames = function () {
return this.$refs.serverNameBox.allServerNames()
}
})