diff --git a/iwm_browser/main.py b/iwm_browser/main.py index 3ebd547..f3b45f1 100644 --- a/iwm_browser/main.py +++ b/iwm_browser/main.py @@ -40,10 +40,7 @@ template_env.globals["__version__"] = __version__ BASE_URL = utils.config_value("IWM_SERVER", "http://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_params = json.loads(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", '{}')