forked from MarseyWorld/MarseyWorld
rename /@me to /me
parent
07b0d89b92
commit
b68f4e4056
|
@ -121,7 +121,6 @@ def on_login(account, redir=None):
|
|||
|
||||
|
||||
@app.get("/me")
|
||||
@app.get("/@me")
|
||||
@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400)
|
||||
@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400, key_func=get_ID)
|
||||
@auth_required
|
||||
|
|
Loading…
Reference in New Issue