remove now-unnecessary condition

master
Aevann 2023-09-29 04:26:18 +03:00
parent fc59615e30
commit c70453e3d1
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ from files.__main__ import app, limiter, get_CF, redis_instance
def before_request():
g.v = None
if request.host != SITE and request.path != '/refresh_chat':
if request.host != SITE:
abort(403, "Unauthorized host provided!")
if SITE == 'marsey.world' and request.path != '/kofi':