remotes/1693045480750635534/spooky-22
Aevann1 2021-12-24 05:20:36 +02:00
parent f015c85514
commit 3ec46c7bd1
1 changed files with 2 additions and 2 deletions

View File

@ -59,14 +59,14 @@ 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://redis"
app.config["RATELIMIT_STORAGE_URL"] = "redis://localhost"
app.config['MAIL_SERVER'] = 'smtp.gmail.com'
app.config['MAIL_PORT'] = 587
app.config['MAIL_USE_TLS'] = True
app.config['MAIL_USERNAME'] = environ.get("MAIL_USERNAME", "").strip()
app.config['MAIL_PASSWORD'] = environ.get("MAIL_PASSWORD", "").strip()
r=redis.Redis(host="redis://redis", decode_responses=True, ssl_cert_reqs=None)
r=redis.Redis(host="redis://localhost", decode_responses=True, ssl_cert_reqs=None)
limiter = Limiter(
app,