Skip to content

Commit a2ba9e5

Browse files
swordqiuQiu Jian
andauthored
fix: webconsole skip refererer check by default (#23091)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
1 parent 13e08b0 commit a2ba9e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/webconsole/options/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ type WebConsoleOptions struct {
4040

4141
KeepWebsocketSession bool `help:"keep websocket session" default:"false"`
4242

43-
RefererWhitelist []string `help:"referer whitelist"`
43+
RefererWhitelist []string `help:"referer whitelist" default:"skip_check"`
4444
}
4545

4646
func OnOptionsChange(oldO, newO interface{}) bool {

0 commit comments

Comments
 (0)