chore: update ws security

This commit is contained in:
duorameng
2026-04-27 10:54:00 +08:00
parent f186697116
commit cf9acf3ea0
6 changed files with 162 additions and 8 deletions
+1 -3
View File
@@ -20,9 +20,7 @@ import (
)
var agentUpgrader = websocket.Upgrader{
CheckOrigin: func(r *http.Request) bool {
return true
},
CheckOrigin: utils.CheckWSOrigin,
}
// AgentController Agent 控制器