fix: bust Cloudflare cache on app.js with version query string

This commit is contained in:
M1 2026-03-17 07:10:27 +04:00
parent 66b368453d
commit b802c7c68b
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<title>PingQL<%= it.title ? ` — ${it.title}` : '' %></title> <title>PingQL<%= it.title ? ` — ${it.title}` : '' %></title>
<script src="https://cdn.tailwindcss.com"></script> <script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="/dashboard/app.css"> <link rel="stylesheet" href="/dashboard/app.css">
<script src="/dashboard/app.js"></script> <script src="/dashboard/app.js?v=2"></script>
<% if (it.scripts) { it.scripts.forEach(function(s) { %> <% if (it.scripts) { it.scripts.forEach(function(s) { %>
<script src="<%= s %>"></script> <script src="<%= s %>"></script>
<% }) } %> <% }) } %>