Don't discard the "Fetch via Proxy" option
This commit is contained in:
parent
f8ca825524
commit
77f5b911b5
1 changed files with 2 additions and 1 deletions
|
@ -44,8 +44,9 @@ func NewSubscriptionForm(r *http.Request) *SubscriptionForm {
|
|||
|
||||
return &SubscriptionForm{
|
||||
URL: r.FormValue("url"),
|
||||
Crawler: r.FormValue("crawler") == "1",
|
||||
CategoryID: int64(categoryID),
|
||||
Crawler: r.FormValue("crawler") == "1",
|
||||
FetchViaProxy: r.FormValue("fetch_via_proxy") == "1",
|
||||
UserAgent: r.FormValue("user_agent"),
|
||||
Username: r.FormValue("feed_username"),
|
||||
Password: r.FormValue("feed_password"),
|
||||
|
|
Loading…
Reference in a new issue