From 86848b504ff3c59842d7ae721d44c97fdb9b8254 Mon Sep 17 00:00:00 2001 From: kleph Date: Wed, 8 Apr 2020 03:18:34 +0200 Subject: [PATCH] [UI] Add favicon --- beer/beer.py | 5 +++++ beer/static/favicon.ico | Bin 0 -> 5614 bytes staging_tests.sh | 6 +++--- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 beer/static/favicon.ico diff --git a/beer/beer.py b/beer/beer.py index 3398e56..2f5d8b9 100755 --- a/beer/beer.py +++ b/beer/beer.py @@ -4,6 +4,7 @@ from flask import Flask from flask import render_template +from flask import send_from_directory # pylint: disable=invalid-name app = Flask(__name__) @@ -22,6 +23,10 @@ def index(hours=None, minutes=None): data = render_template('beer.html', hours=hours, minutes=minutes) return data +@app.route('/favicon.ico') +def favicon(): + """ serve the favicon """ + return send_from_directory('static', 'favicon.ico') def main(): """ main func """ diff --git a/beer/static/favicon.ico b/beer/static/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..849d3b76e928c9531a3534f99c06dcfcb1db5287 GIT binary patch literal 5614 zcmVdWA(jxEyvhToR^n2XrARXa*HN*2lulnj*1C>K%Ap`?=h^x5V@ z*7v9+46G|47uev`&>c}aptM7YM+sJ`I4jC&lpjzIp?rsgNM-#D-s2!{U{4j zb|D$;tSjRV-4Fm9J_ww@^ob}fSl34-oI#m`vIU7y#JVyB<^;for#ifZk_;8M;Y)*v zFa>1?62ZZ;B1{Q@jh}!oi@`aKtBm*#WfYR&Csq|;LI7-dQs`!*`~}J`$W%6vPOutf z5)vUx>%uiB05(1;c&kuiwJuxdxQ3F5B-o{8p_&l@8$J?WmZ9|5@&*GCn^1-$5$swe@l@kz6&2L@osb0QmAar}1i;2`g)d)&)9XeT2r`)< z;lX&g|GtJ08e)bUw=?1JiPLcT+Hb6@CI{rH)EPuO2`k>D{UdIH%5;KzJ&kJ3%IKkW5aU{J4a<(`w7 zl?`uAnGNSJDmtWU395JpxjKO?0`S^C88mdG@O6EnJxM}ie5YA+^;Zl#(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