gdf
This commit is contained in:
parent
589d028b20
commit
19f8c863ac
5 changed files with 8 additions and 8 deletions
|
@ -687,7 +687,7 @@ def u_username(username, v=None):
|
|||
|
||||
if not v and not request.path.startswith('/logged_out'): return redirect(f"{SITE_FULL}/logged_out{request.full_path}")
|
||||
|
||||
if v and request.path.startswith('/logged_out'): v = None
|
||||
if v and request.path.startswith('/logged_out'): return redirect(SITE_FULL + request.full_path.replace('/logged_out',''))
|
||||
|
||||
|
||||
|
||||
|
@ -794,7 +794,7 @@ def u_username_comments(username, v=None):
|
|||
|
||||
if not v and not request.path.startswith('/logged_out'): return redirect(f"{SITE_FULL}/logged_out{request.full_path}")
|
||||
|
||||
if v and request.path.startswith('/logged_out'): v = None
|
||||
if v and request.path.startswith('/logged_out'): return redirect(SITE_FULL + request.full_path.replace('/logged_out',''))
|
||||
|
||||
user = get_user(username, v=v)
|
||||
|
||||
|
@ -968,7 +968,7 @@ def remove_follow(username, v):
|
|||
@auth_desired
|
||||
def user_profile_uid(v, id):
|
||||
if not v and not request.path.startswith('/logged_out'): return redirect(f"{SITE_FULL}/logged_out{request.full_path}")
|
||||
if v and request.path.startswith('/logged_out'): v = None
|
||||
if v and request.path.startswith('/logged_out'): return redirect(SITE_FULL + request.full_path.replace('/logged_out',''))
|
||||
|
||||
try: id = int(id)
|
||||
except: abort(404)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue