routes: add /flairs as an alternative route to /holes (#129)

Kindly,

As per $title. For WPD, with love

Thanks,
granny

Reviewed-on: rDrama/rDrama#129
Co-authored-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
Co-committed-by: mummified-corroding-granny <mummified-corroding-granny@noreply.fsdfsd.net>
master
mummified-corroding-granny 2023-02-20 14:40:00 +00:00 committed by Aevann
parent 7fa150a27f
commit 6f06b24ead
1 changed files with 1 additions and 0 deletions

View File

@ -610,6 +610,7 @@ def sub_marsey(v:User, sub):
return redirect(f'/h/{sub}/settings')
@app.get("/flairs")
@app.get("/holes")
@limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID)
@auth_required