Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost

master
Aevann1 2022-08-03 01:18:47 +02:00
commit fbfd9495c7
1 changed files with 2 additions and 2 deletions

View File

@ -922,7 +922,7 @@ def u_username(username, v=None):
if username != u.username:
return redirect(SITE_FULL + request.full_path.replace(username, u.username)[:-1])
return redirect(SITE_FULL + request.full_path.replace(username, u.username))
if u.reserved:
if request.headers.get("Authorization") or request.headers.get("xhr") or request.path.endswith(".json"):
@ -1321,4 +1321,4 @@ def toggle_pins(sort):
if is_site_url(request.referrer):
return redirect(request.referrer)
return redirect('/')
return redirect('/')