From 381c57a79eecf168a452379b3f9d883922ca61a3 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 20 Sep 2021 16:29:46 +0200 Subject: [PATCH] fdsfs --- files/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/__main__.py b/files/__main__.py index 7bf723e2d..8b81c56af 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -59,12 +59,13 @@ app.config["RATELIMIT_DEFAULTS_DEDUCT_WHEN"]=lambda:True app.config["RATELIMIT_DEFAULTS_EXEMPT_WHEN"]=lambda:False app.config["RATELIMIT_HEADERS_ENABLED"]=True app.config["CACHE_TYPE"] = "filesystem" +app.config["CACHE_DIR"] = "cache" app.config["RATELIMIT_STORAGE_URL"] = "redis://127.0.0.1" r=redis.Redis(host="127.0.0.1", decode_responses=True, ssl_cert_reqs=None) -Markdown(app) cache = Cache(app) +Markdown(app) Compress(app) limiter = Limiter(