feat: Add trusted redirect domains.

This commit is contained in:
mehunk committed 2026-01-26 22:18:04 +09:00
1 parent 8980117f15
commit db5b07bf98
6 files changed
+205

No files matched your search

+4
View File
@@ -20,3 +20,7 @@ var TaskQueryLimit int
// temporary variable for sora patch, will be removed in future
var TaskPricePatches []string
// TrustedRedirectDomains is a list of trusted domains for redirect URL validation.
// Domains support subdomain matching (e.g., "example.com" matches "sub.example.com").
var TrustedRedirectDomains []string