mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-15 23:06:38 +00:00
replace window with globalThis on home html
Signed-off-by: jnfrati <nicofrati@gmail.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user