Remove manifest and service worker routes; update base.html to reflect changes

This commit is contained in:
2026-04-19 21:15:40 +02:00
parent 91fc5cae21
commit e2f8da213a
5 changed files with 2 additions and 9 deletions
-8
View File
@@ -10926,11 +10926,3 @@ def test_push_notification():
except Exception as e:
app.logger.error(f'Error sending test push: {e}')
return jsonify({'success': False, 'error': str(e)}), 500
@app.route('/manifest.json')
def serve_manifest():
return send_from_directory('static', 'manifest.json', mimetype='application/manifest+json')
@app.route('/sw.js')
def serve_sw():
return send_from_directory('static', 'sw.js', mimetype='application/javascript')
+1
View File
@@ -0,0 +1 @@
[2026-04-19 20:20:39,502] ERROR in app: Error during scheduler shutdown: name '__file__' is not defined
-1
View File
@@ -14,7 +14,6 @@
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="manifest" href="/manifest.json">
<meta name="csrf-token" content="{{ csrf_token }}">
<title>{% block title %}Inventarsystem{% endblock %}</title>
{% block head %}