mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-24 07:46:30 +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>
|