feat: self-connection blocking API support (token-device internal endpoint, jti)

This commit is contained in:
admin committed 2026-09-16 13:33:27 +08:00
1 parent 37b9991d0e
commit 9e34bdce9e
6 files changed
+73 -1

No files matched your search

+2
View File
@@ -91,6 +91,8 @@ func Init(rowVal *Config, path string) *viper.Viper {
if err := v.Unmarshal(rowVal); err != nil {
panic(fmt.Errorf("Fatal error config: %s \n", err))
}
// webclient2 因 DMCA 已移除前端资源,永久禁用,不再受配置文件或环境变量控制
rowVal.App.WebClient = 0
rowVal.Rustdesk.LoadKeyFile()
rowVal.Admin.Init()
return v