mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-24 09:35: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>
|