fix forgotten subdomain

master
Aevann 2023-07-01 22:37:32 +03:00
parent 7f6675f7f9
commit b2b5633c8b
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ from files.__main__ import app, cache, limiter, redis_instance
@app.get("/h/<sub>")
@limiter.limit("30/minute;5000/hour;10000/day")
@auth_desired_with_logingate
def front_all(v, sub=None, subdomain=None):
def front_all(v, sub=None):
if sub:
sub = get_sub_by_name(sub, graceful=True)
if sub and not User.can_see(v, sub):