fix: Add redirect for /index.html

This commit is contained in:
Sidharth Vinod
2025-02-25 08:50:03 +05:30
parent 51591ba075
commit cdc7f9faa4
+11
View File
@@ -0,0 +1,11 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { base } from '$app/paths';
import { onMount } from 'svelte';
onMount(async () => {
await goto(`${base}/edit`, {
replaceState: true
});
});
</script>