mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-28 17:56:29 +00:00
10 lines
270 B
Vue
10 lines
270 B
Vue
|
<script setup lang="ts">
|
||
|
definePageMeta({
|
||
|
middleware: ["auth"],
|
||
|
});
|
||
|
|
||
|
const route = useRoute();
|
||
|
const assetId = computed<string>(() => route.params.id as string);
|
||
|
await navigateTo("/assets/" + assetId.value, { replace: true, redirectCode: 301 });
|
||
|
</script>
|