based path correction
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<script setup lang="ts">
|
||||
import { ui_colors_dropdown } from '~/utils/set_colors';
|
||||
|
||||
const loggedIn = ref(false);
|
||||
const logout_prompt = ref(false);
|
||||
@@ -28,8 +27,8 @@ const props = defineProps({
|
||||
|
||||
function logout() {
|
||||
return $fetch("/logout").then((r) => {
|
||||
reloadNuxtApp({ path: "/" })
|
||||
});
|
||||
reloadNuxtApp({ path: useBasedPath("/") })
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user