fix: separate jsHash for app.js cache busting

This commit is contained in:
M1
2026-03-18 09:43:11 +04:00
parent fa8ff8b361
commit 641af86779
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
<title>PingQL<%= it.title ? ` — ${it.title}` : '' %></title>
<link rel="stylesheet" href="/dashboard/tailwind.css?v=<%= it.cssHash %>">
<link rel="stylesheet" href="/dashboard/app.css?v=<%= it.cssHash %>">
<script src="/dashboard/app.js?v=<%= it.cssHash %>"></script>
<script src="/dashboard/app.js?v=<%= it.jsHash %>"></script>
<% if (it.scripts) { it.scripts.forEach(function(s) { %>
<script src="<%= s %>"></script>
<% }) } %>