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

added favicon

parent 7db2cac4
Branches
Tags
No related merge requests found
......@@ -8,7 +8,7 @@ FROM python:3
# If you prefer miniconda:
#FROM continuumio/miniconda3
LABEL Name=url_shorter Version=1.1.2
LABEL Name=url_shorter Version=1.1.3
EXPOSE 5000
WORKDIR /app
......
......@@ -95,7 +95,7 @@ def home():
@app.route('/favicon.ico') #There is no favicon, so fail.
def favicon():
abort(404)
return redirect("/static/favicon.ico")
@app.route('/<short_url>')
def redirect_short_url(short_url):
......
static/favicon.ico

1.12 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment