redirect /marseys to /emojis

pull/168/head
Aevann 2023-07-07 04:52:19 +03:00
parent f28f7b836c
commit 72c61b15c8
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,10 @@ def get_emoji_list():
emojis.append(emoji)
return emojis
@app.get("/marseys")
def marseys_redirect():
return redirect("/emojis")
@app.get("/emojis")
@limiter.limit(DEFAULT_RATELIMIT)
@limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID)