forked from rDrama/rDrama
another fix
parent
22b5ee9ca9
commit
90824d0f5f
|
@ -744,7 +744,7 @@ def user_id(id):
|
||||||
|
|
||||||
@app.route("/id/<int:id>/<path:path>")
|
@app.route("/id/<int:id>/<path:path>")
|
||||||
@limiter.limit(DEFAULT_RATELIMIT)
|
@limiter.limit(DEFAULT_RATELIMIT)
|
||||||
def user_id(id, path):
|
def user_id_path(id, path):
|
||||||
user = get_account(id)
|
user = get_account(id)
|
||||||
return redirect(f'/@{user.username}/{path}')
|
return redirect(f'/@{user.username}/{path}')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue