fix: auth guard in <head> — redirect to /login.html before Rocket Loader can defer anything

This commit is contained in:
2026-06-01 09:17:39 +00:00
parent fee412386d
commit dbe945080d
+1
View File
@@ -4,6 +4,7 @@
<meta charset="UTF-8"/> <meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/> <meta name="viewport" content="width=device-width,initial-scale=1"/>
<title>JARVIS — Integrated Defense and Logistics System</title> <title>JARVIS — Integrated Defense and Logistics System</title>
<script data-cfasync="false">if(!sessionStorage.getItem("jarvis_token"))window.location.replace("/login.html");</script>
<link rel="preconnect" href="https://fonts.googleapis.com"/> <link rel="preconnect" href="https://fonts.googleapis.com"/>
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Rajdhani:wght@300;400;500;600&family=Share+Tech+Mono&display=swap" rel="stylesheet"/> <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Rajdhani:wght@300;400;500;600&family=Share+Tech+Mono&display=swap" rel="stylesheet"/>
<style> <style>