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

This commit is contained in:
GoEdgeLab
2023-05-02 17:05:35 +08:00
parent a517543e4e
commit 1194a829f3
4 changed files with 30 additions and 1 deletions

View File

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

View File

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