config: rework http proxy options.

Replace the http_proxy_host, http_proxy_port, http_proxy_username, http_proxy_password options with
a single `Danbooru.config.http_proxy` option.
This commit is contained in:
evazion
2022-11-12 02:14:47 -06:00
parent 4c3b988d15
commit 215df49050
3 changed files with 13 additions and 14 deletions

View File

@@ -578,16 +578,9 @@ module Danbooru
"https://twitter.com/#{Danbooru.config.twitter_username}"
end
def http_proxy_host
end
def http_proxy_port
end
def http_proxy_username
end
def http_proxy_password
# The proxy to use for outgoing HTTP requests.
def http_proxy
# "http://username:password@proxy.example.com:1080"
end
# The URL for the Reportbooru server (https://github.com/evazion/reportbooru).