Skip to content

Commit

Permalink
Auto redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
RedstoneWizard08 committed Apr 12, 2023
1 parent 7bfa79d commit d0a1c55
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/routes/[game]/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<script lang="ts">
import { goto } from "$app/navigation";
import { page } from "$app/stores";
const gameId = parseInt($page.params.game);
goto(`/${gameId}/instances`);
</script>

0 comments on commit d0a1c55

Please sign in to comment.