mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-24 06:28:34 +01:00
* add asset id redirecting
* dev env changes
* suggested changes from PR
* remove unnecessary proxy from nuxt config
* fix formatting
* change directory reference
* fix API key storage
* use /a/{id} as redirect
* run generators
* remove dependabot
Co-authored-by: Bradley Nelson <bradley@nel.family>
Co-authored-by: Bradley Nelson <BCNelson@users.noreply.github.com>
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>
|