reload better
This commit is contained in:
@@ -30,7 +30,7 @@ const props = defineProps({
|
|||||||
return fetch("/logout").then(
|
return fetch("/logout").then(
|
||||||
(response) => {
|
(response) => {
|
||||||
if (response.ok) {
|
if (response.ok) {
|
||||||
window.location.reload();
|
window.location.href = "/";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user