Fix url validate issues

Fix check ip performance problem

Optimize resources page
This commit is contained in:
chen08209
2024-07-07 10:02:10 +08:00
parent 5c3a0c576d
commit b20d9edec2
34 changed files with 1068 additions and 990 deletions

View File

@@ -94,11 +94,11 @@ func updateConfig(s *C.char, port C.longlong) {
go func() {
var params = &GenerateConfigParams{}
err := json.Unmarshal([]byte(paramsString), params)
configParams = params.Params
if err != nil {
bridge.SendToPort(i, err.Error())
return
}
configParams = params.Params
prof := decorationConfig(params.ProfilePath, params.Config)
currentConfig = prof
applyConfig()