Skip to content
Snippets Groups Projects
Commit 20aff9b9 authored by Jonas Leder's avatar Jonas Leder
Browse files

permanent redirect for favicon

parent 28a4dc11
Branches
Tags
No related merge requests found
......@@ -130,7 +130,7 @@ def home_post():
@app.route('/favicon.ico') #Redirect to the static url of the favicon
def favicon():
return redirect("/static/favicon.ico")
return redirect("/static/favicon.ico", code=301)
@app.route('/<short_url>')
def redirect_short_url(short_url):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment