fix: webconsole skip refererer check by default (#23091)

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
Jian Qiu
2025-08-16 14:45:35 +08:00
committed by GitHub
co-authored by Qiu Jian
parent 13e08b0e3e
commit a2ba9e5e33
+1 -1
View File
@@ -40,7 +40,7 @@ type WebConsoleOptions struct {
KeepWebsocketSession bool `help:"keep websocket session" default:"false"`
RefererWhitelist []string `help:"referer whitelist"`
RefererWhitelist []string `help:"referer whitelist" default:"skip_check"`
}
func OnOptionsChange(oldO, newO interface{}) bool {