forked from rDrama/rDrama
1
0
Fork 0

print debugging

master
Aevann 2023-02-08 18:22:48 +02:00
parent 4a44ff99c6
commit ea9cdea42b
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ def publish(pid, v):
@limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID)
@auth_required
def submit_get(v:User, sub=None):
if v.id == AEVANN_ID: print(request.host, flush=True)
sub = get_sub_by_name(sub, graceful=True)
if request.path.startswith('/h/') and not sub: abort(404)