Progressive Web App + icon

This commit is contained in:
2026-02-20 17:17:06 +01:00
parent b951a9856c
commit 896c0fef0b
5 changed files with 34 additions and 0 deletions
+10
View File
@@ -200,5 +200,15 @@ def refresh():
update_all_data()
return redirect(url_for('index'))
from flask import send_from_directory
@app.route('/manifest.json')
def serve_manifest():
return send_from_directory('static', 'manifest.json')
@app.route('/static/sw.js')
def serve_sw():
return send_from_directory('static', 'sw.js')
if __name__ == '__main__':
app.run(host='0.0.0.0', port=5000)