Skip to content

Commit

Permalink
fix: Add redirect for /index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Feb 25, 2025
1 parent 51591ba commit cdc7f9f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/routes/index.html/+page.svelte
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit cdc7f9f

Please sign in to comment.