mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-01 21:15:42 +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>
|