fdfd
This commit is contained in:
parent
355d63d9d3
commit
c33ac2998b
1 changed files with 4 additions and 2 deletions
|
@ -529,10 +529,12 @@ def user_profile(username):
|
|||
@app.route("/uid/<uid>/pic/profile")
|
||||
@limiter.exempt
|
||||
def user_profile_uid(uid):
|
||||
try: uid = int(uid)
|
||||
except: uid = int(uid, 36)
|
||||
try: uid = int(uid, 36)
|
||||
except: uid = int(uid)
|
||||
x=get_account(uid)
|
||||
return redirect(x.profile_url)
|
||||
|
||||
|
||||
@app.get("/@<username>/saved/posts")
|
||||
@app.get("/api/v1/saved/posts")
|
||||
@auth_required
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue