fix: app.js deferred in head (fixes requireAuth undefined), extract app.css

This commit is contained in:
M1
2026-03-16 15:16:59 +04:00
parent e36c239000
commit 87c924d8d0
4 changed files with 7 additions and 4 deletions
-1
View File
@@ -1,3 +1,2 @@
<script src="/dashboard/app.js"></script>
</body>
</html>
+2 -3
View File
@@ -5,8 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PingQL<%= it.title ? ` — ${it.title}` : '' %></title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
body { font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', ui-monospace, monospace; background: #0a0a0a; }
</style>
<link rel="stylesheet" href="/dashboard/app.css">
<script src="/dashboard/app.js" defer></script>
</head>
<body class="bg-[#0a0a0a] text-gray-100 min-h-screen">