fix: al login crashing

This commit is contained in:
ThaUnknown 2024-08-20 23:53:08 +02:00 committed by NoCrypt
parent 2a68e6b154
commit af57121a3d

View file

@ -20,7 +20,7 @@
ignoreNext = false
return
}
history.pushState({ type, value }, '', './?id=' + Math.trunc(Math.random() * Number.MAX_SAFE_INTEGER).toString())
history.pushState({ type, value }, '', location.origin + location.pathname + '?id=' + Math.trunc(Math.random() * Number.MAX_SAFE_INTEGER).toString())
}
page.subscribe((value) => {
addPage(value, 'page')