replace window with globalThis on home html

Signed-off-by: jnfrati <nicofrati@gmail.com>
This commit is contained in:
jnfrati
2026-04-08 16:55:01 +02:00
parent fb2628223a
commit 7efaf4a7be

View File

@@ -1,6 +1,6 @@
{{ template "header.html" . }}
<script>window.location.replace("/");</script>
<script>globalThis.location.replace("/");</script>
<noscript>
<div class="nb-card">
<h1 class="nb-heading">Redirecting…</h1>