cache busting JS files

This commit is contained in:
2025-05-28 21:55:26 +02:00
parent c8dd4ac165
commit 4f8261bda9
13 changed files with 30 additions and 22 deletions

View File

@@ -9,7 +9,7 @@
<link rel="stylesheet" href="{{ url_for('static', filename='css/auth.css', v=config.CSS_VERSION) }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/colors.css', v=config.CSS_VERSION) }}">
<link rel="stylesheet" href="{{ url_for('main.dynamic_colors') }}?v={{ site_settings.updated_at.timestamp() }}" onload="console.log('[CSS] Dynamic colors loaded with version:', '{{ site_settings.updated_at.timestamp() }}')">
<script src="{{ url_for('static', filename='js/color-logger.js') }}"></script>
<script src="{{ url_for('static', filename='js/color-logger.js', v=config.CSS_VERSION) }}"></script>
</head>
<body>
<div class="container">