remotes/1693045480750635534/spooky-22
Aevann1 2022-04-02 21:40:45 +02:00
parent 063f3111bd
commit 3ef2e36eec
1 changed files with 0 additions and 7 deletions

View File

@ -1072,11 +1072,8 @@ def remove_follow(username, v):
return {"message": "Follower removed!"}
@app.get("/pp/<id>")
@app.get("/logged_out/pp/<id>")
@app.get("/uid/<id>/pic")
@app.get("/logged_out/uid/<id>/pic")
@app.get("/uid/<id>/pic/profile")
@app.get("/logged_out/uid/<id>/pic/profile")
@limiter.exempt
@auth_desired
def user_profile_uid(v, id):
@ -1085,10 +1082,6 @@ def user_profile_uid(v, id):
try: id = int(id, 36)
except: abort(404)
if not v and not request.path.startswith('/logged_out'): return redirect(f"/logged_out{request.full_path}")
if v and request.path.startswith('/logged_out'): v = None
x=get_account(id)
return redirect(x.profile_url)