mirror of
https://github.com/miniflux/v2.git
synced 2025-08-26 18:21:01 +00:00
feat: implement proxy URL per feed
This commit is contained in:
parent
7b344de846
commit
ef22e95f8b
48 changed files with 333 additions and 192 deletions
|
@ -14,5 +14,9 @@ func ValidateSubscriptionDiscovery(request *model.SubscriptionDiscoveryRequest)
|
|||
return locale.NewLocalizedError("error.invalid_site_url")
|
||||
}
|
||||
|
||||
if request.ProxyURL != "" && !IsValidURL(request.ProxyURL) {
|
||||
return locale.NewLocalizedError("error.invalid_proxy_url")
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue