nit logout

This commit is contained in:
Ruben Fiszel
2025-06-25 19:06:56 +02:00
parent 4313deb078
commit 62f439a1fb
@@ -18,8 +18,11 @@
return
}
console.log('logout 4', rd)
goto(rd ?? '/user/login')
if (rd?.startsWith('https://') || rd?.startsWith('http://')) {
window.location.href = rd
} else {
goto(rd ?? '/user/login')
}
})
</script>