Fix a bug where users couldn't connect if no proxies are set

This commit is contained in:
magmaus3 2023-07-10 13:05:59 +02:00
parent 846f45c8d5
commit 5f1960c3fd
Signed by: magmaus3
GPG key ID: 966755D3F4A9B251

View file

@ -42,7 +42,7 @@ THUMB_URL = utils.config_value("IWM_THUMBNAILS", "https://images.make.fangam.es"
utils.global_imgproxy_url = utils.config_value("IMGPROXY_URL", None)
utils.global_imgproxy_params = utils.config_value("IMGPROXY_PARAMS", {"extension": "webp", "advanced": ["q:50"]}) # Set it to None to disable the proxy params
PROXIES = utils.config_value("HTTP_PROXIES", '{}')
PROXIES = utils.config_value("HTTP_PROXIES", {})
# Matches level code.
# \S[A-Z0-9]{4}\-[A-Z0-9]{4} = With dash, no whitespace