improve last commit

master
Aevann 2023-08-23 00:44:06 +03:00
parent a9a68ae79d
commit 8139b908f3
2 changed files with 0 additions and 2 deletions

View File

@ -30,7 +30,6 @@ def cron_fn(every_5m, every_1d):
with app.app_context():
g.db = db_session()
g.v = None
g.vid = None
try:
if every_5m:

View File

@ -10,7 +10,6 @@ from files.__main__ import app, limiter, get_CF, redis_instance
@app.before_request
def before_request():
g.v = None
g.vid = None
if request.host != SITE:
abort(403, "Unauthorized host provided!")