fuck
.
This commit is contained in:
parent
7de0dabb54
commit
a649becb63
1 changed files with 1 additions and 4 deletions
|
@ -40,10 +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 = json.loads(utils.config_value("IMGPROXY_PARAMS", '''{
|
utils.global_imgproxy_params = utils.config_value("IMGPROXY_PARAMS", '{"extension": "webp", "advanced": ["q:50"]}') # Set it to None to disable the proxy 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", '{}')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue