mirror of
https://github.com/bestnite/sub2clash.git
synced 2025-07-04 20:02:34 +08:00
🔧 customize HTTP user-agent for fetching subscription from API.
This commit is contained in:
@ -31,6 +31,7 @@ type SubValidator struct {
|
||||
ReplaceTo []string `form:"-" binding:""`
|
||||
NodeListMode bool `form:"nodeList,default=false" binding:""`
|
||||
IgnoreCountryGrooup bool `form:"ignoreCountryGroup,default=false" binding:""`
|
||||
UserAgent string `form:"userAgent" binding:""`
|
||||
}
|
||||
|
||||
type RuleProviderStruct struct {
|
||||
|
Reference in New Issue
Block a user