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

@@ -4,7 +4,7 @@
{% block title %}Starred - DocuPulse{% endblock %}
{% block extra_css %}
<link rel="stylesheet" href="{{ url_for('static', filename='css/starred.css', v=config.CSS_VERSION) }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/starred.css') }}?v={{ 'css/starred.css'|asset_version }}">
{% endblock %}
{% block content %}
@@ -42,6 +42,6 @@
{% endblock %}
{% block extra_js %}
<script type="module" src="{{ url_for('static', filename='js/file-grid.js', v=config.CSS_VERSION) }}"></script>
<script src="{{ url_for('static', filename='js/starred.js', v=config.CSS_VERSION) }}"></script>
<script type="module" src="{{ url_for('static', filename='js/file-grid.js') }}?v={{ 'js/file-grid.js'|asset_version }}"></script>
<script src="{{ url_for('static', filename='js/starred.js') }}?v={{ 'js/starred.js'|asset_version }}"></script>
{% endblock %}