This commit is contained in:
magmaus3 2023-06-09 14:53:25 +02:00
parent a649becb63
commit 6e9d2c91c0
Signed by: magmaus3
GPG key ID: 966755D3F4A9B251

View file

@ -40,7 +40,7 @@ template_env.globals["__version__"] = __version__
BASE_URL = utils.config_value("IWM_SERVER", "http://make.fangam.es") BASE_URL = utils.config_value("IWM_SERVER", "http://make.fangam.es")
THUMB_URL = utils.config_value("IWM_THUMBNAILS", "https://images.make.fangam.es") 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_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 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", '{}')