refactor
This commit is contained in:
16
frontend/src/routes/storage/+page.svelte
Normal file
16
frontend/src/routes/storage/+page.svelte
Normal file
@@ -0,0 +1,16 @@
|
||||
<!-- [DEF:StorageIndexPage:Page] -->
|
||||
<!--
|
||||
@TIER: TRIVIAL
|
||||
@PURPOSE: Redirect to the backups page as the default storage view.
|
||||
@LAYER: Page
|
||||
@INVARIANT: Always redirects to /storage/backups.
|
||||
-->
|
||||
<script>
|
||||
import { onMount } from 'svelte';
|
||||
import { goto } from '$app/navigation';
|
||||
|
||||
onMount(() => {
|
||||
goto('/storage/backups');
|
||||
});
|
||||
</script>
|
||||
<!-- [/DEF:StorageIndexPage:Page] -->
|
||||
Reference in New Issue
Block a user