mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 02:37:24 +08:00
fix: webconsole skip refererer check by default (#23091)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user