forked from rDrama/rDrama
fdfd
parent
68d8bd8e6c
commit
22a479484b
|
@ -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…
Reference in New Issue