mirror of
https://github.com/StefBuwalda/dashboard_test.git
synced 2025-10-30 03:09:59 +00:00
Changed page title and added a favicon
This commit is contained in:
7
app.py
7
app.py
@@ -1,5 +1,5 @@
|
||||
# import requests as r
|
||||
from flask import jsonify, Flask, render_template
|
||||
from flask import jsonify, Flask, render_template, send_file
|
||||
from poll_services import start_async_loop
|
||||
from mem import services
|
||||
import threading
|
||||
@@ -19,6 +19,11 @@ def status():
|
||||
return jsonify([s.to_dict() for s in services])
|
||||
|
||||
|
||||
@app.route("/favicon.svg")
|
||||
def favicon():
|
||||
return send_file("/static/favicon.svg")
|
||||
|
||||
|
||||
# Only run if directly running file
|
||||
if __name__ == "__main__":
|
||||
|
||||
|
||||
Reference in New Issue
Block a user