防盗链增加”同时检查Origin选项“

This commit is contained in:
刘祥超
2023-05-02 17:05:35 +08:00
parent 8e0a239de9
commit f71cdf9065
4 changed files with 30 additions and 1 deletions

View File

@@ -40,6 +40,7 @@ func (this *IndexAction) RunGet(params struct {
AllowEmpty: true,
AllowSameDomain: true,
AllowDomains: nil,
CheckOrigin: true,
}
}