add dramacoin tax

This commit is contained in:
atrc445 2021-09-21 20:06:41 +02:00
parent 5d25491c65
commit 56a8e615d3
14 changed files with 125 additions and 62 deletions

View file

@ -59,9 +59,9 @@ 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"
app.config["RATELIMIT_STORAGE_URL"] = environ.get("REDIS_URL", "redis://127.0.0.1")
r=redis.Redis(host="127.0.0.1", decode_responses=True, ssl_cert_reqs=None)
r=redis.Redis(host=environ.get("REDIS_URL", "redis://127.0.0.1"), decode_responses=True, ssl_cert_reqs=None)
cache = Cache(app)
Markdown(app)