Skip to content

Commit 21963ac

Browse files
committed
恢复默认检查区域
1 parent b67ea18 commit 21963ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/configloaders/security_config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func loadSecurityConfig() (*systemconfigs.SecurityConfig, error) {
8787
Frame: FrameSameOrigin,
8888
AllowLocal: true,
8989
CheckClientFingerprint: false,
90-
CheckClientRegion: false,
90+
CheckClientRegion: true,
9191
}
9292
err = json.Unmarshal(resp.ValueJSON, config)
9393
if err != nil {
@@ -108,6 +108,6 @@ func defaultSecurityConfig() *systemconfigs.SecurityConfig {
108108
Frame: FrameSameOrigin,
109109
AllowLocal: true,
110110
CheckClientFingerprint: false,
111-
CheckClientRegion: false,
111+
CheckClientRegion: true,
112112
}
113113
}

0 commit comments

Comments
 (0)