proper cache busting

This commit is contained in:
2025-06-04 11:47:35 +02:00
parent 0f9f9d1b73
commit 88c3bc1b5b
20 changed files with 100 additions and 45 deletions

View File

@@ -13,7 +13,7 @@
{% block title %}Settings - DocuPulse{% endblock %}
{% block extra_css %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/settings.css', v=config.CSS_VERSION) }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/settings.css') }}?v={{ 'css/settings.css'|asset_version }}">
{% endblock %}
{% block content %}
@@ -124,6 +124,6 @@
{% endblock %}
{% block extra_js %}
<script src="{{ url_for('static', filename='js/settings.js', v=config.CSS_VERSION) }}"></script>
<script src="{{ url_for('static', filename='js/events.js', v=config.CSS_VERSION) }}"></script>
<script src="{{ url_for('static', filename='js/settings.js') }}?v={{ 'js/settings.js'|asset_version }}"></script>
<script src="{{ url_for('static', filename='js/events.js') }}?v={{ 'js/events.js'|asset_version }}"></script>
{% endblock %}