lowercase urls

pull/222/head
Aevann 2024-02-03 05:29:53 +02:00
parent 79d981ec37
commit fb8866905f
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ def reddit_post(subreddit, v, path):
@app.get("/marseys")
@app.get("/emojis")
def marseys_redirect():
return redirect("/emojis/Marsey")
return redirect("/emojis/marsey")
@cache.cached(make_cache_key=lambda kind, nsfw:f"emoji_list_{kind}_{nsfw}")
def get_emoji_list(kind, nsfw):