feat: self-connection blocking API support (token-device internal endpoint, jti)
This commit is contained in:
1 parent
37b9991d0e
commit
9e34bdce9e
6 files changed
+73
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user