use ico for favicon
This commit is contained in:
parent
3b94ad5daf
commit
c3ff893151
4 changed files with 1 additions and 6 deletions
4
app.py
4
app.py
|
@ -15,10 +15,6 @@ stops={s.get("StopId"):[s.get("Latitude"),s.get("Longitude")] for s in data}
|
|||
def index():
|
||||
return render_template("map.html",stops=stops)
|
||||
|
||||
@app.route("/bus.svg")
|
||||
def favicon():
|
||||
return send_from_directory(app.static_folder,"bus.svg")
|
||||
|
||||
@app.route("/tarc.csv")
|
||||
@cache.cached(timeout=5)
|
||||
def tarc():
|
||||
|
|
BIN
static/bus.ico
Normal file
BIN
static/bus.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 40 KiB |
|
@ -1 +0,0 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="#e51837" d="M288 0C422.4 0 512 35.2 512 80l0 16 0 32c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32l0 160c0 17.7-14.3 32-32 32l0 32c0 17.7-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32l0-32-192 0 0 32c0 17.7-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32l0-32c-17.7 0-32-14.3-32-32l0-160c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32c0 0 0 0 0 0l0-32s0 0 0 0l0-16C64 35.2 153.6 0 288 0zM128 160l0 96c0 17.7 14.3 32 32 32l112 0 0-160-112 0c-17.7 0-32 14.3-32 32zM304 288l112 0c17.7 0 32-14.3 32-32l0-96c0-17.7-14.3-32-32-32l-112 0 0 160zM144 400a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm288 0a32 32 0 1 0 0-64 32 32 0 1 0 0 64zM384 80c0-8.8-7.2-16-16-16L208 64c-8.8 0-16 7.2-16 16s7.2 16 16 16l160 0c8.8 0 16-7.2 16-16z"/></svg>
|
Before Width: | Height: | Size: 789 B |
|
@ -5,7 +5,7 @@
|
|||
<title>TARC Routes</title>
|
||||
<meta name="description" content="Watch the live locations of TARC vehicles and stops around Louisville">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<link rel="icon" href="bus.svg" type="image/svg+xml">
|
||||
<link rel="shortcut icon" href="static/bus.ico">
|
||||
<script src="/static/leaflet/leaflet.js"></script>
|
||||
<link rel="stylesheet" href="/static/leaflet/leaflet.css">
|
||||
<base target="_blank">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue