Remove manifest and service worker routes; update base.html to reflect changes
This commit is contained in:
@@ -10926,11 +10926,3 @@ def test_push_notification():
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
app.logger.error(f'Error sending test push: {e}')
|
app.logger.error(f'Error sending test push: {e}')
|
||||||
return jsonify({'success': False, 'error': str(e)}), 500
|
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')
|
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
[2026-04-19 20:20:39,502] ERROR in app: Error during scheduler shutdown: name '__file__' is not defined
|
||||||
@@ -14,7 +14,6 @@
|
|||||||
<meta name="mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-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">
|
<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 }}">
|
<meta name="csrf-token" content="{{ csrf_token }}">
|
||||||
<title>{% block title %}Inventarsystem{% endblock %}</title>
|
<title>{% block title %}Inventarsystem{% endblock %}</title>
|
||||||
{% block head %}
|
{% block head %}
|
||||||
|
|||||||
Reference in New Issue
Block a user