Slugy, webp, hromada refaktoringu

This commit is contained in:
Michal Kváček
2024-01-13 23:29:51 +01:00
parent e7cde2f425
commit 5a5c7cb645
57 changed files with 755 additions and 399 deletions
+4 -2
View File
@@ -11,14 +11,16 @@ const $router = useRouter();
const url = computed(() => $route.query.url);
onMounted(() => {
console.log(useAuthStore().getAccessToken());
useAuthStore().refreshAccessToken().then(() => {
console.log("refreshnuto", $route.query.url);
$router.push($route.query.url)
}).catch(e => {
$router.push({name: "login"})
});
});
</script>
<template>
{{ url }}
<q-spinner />
</template>