fix: al login crashing

This commit is contained in:
ThaUnknown 2024-08-20 23:53:08 +02:00
parent 5cf2357976
commit 68ab42c22e

View file

@ -21,7 +21,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')