problem: invalid base path

This commit is contained in:
gsovereignty
2024-06-12 17:21:07 +08:00
parent 577e48af48
commit f25de0cbde
3 changed files with 8 additions and 5 deletions

View File

@@ -1,4 +1,5 @@
<script lang="ts">
import { base } from '$app/paths';
import { page } from '$app/stores';
import { Badge } from '@/components/ui/badge';
import Separator from '@/components/ui/separator/separator.svelte';
@@ -19,7 +20,7 @@
</script>
<a
href="/rockets"
href="{base}/rockets"
class={getClass("rockets")}
>
<Rocket class={iconClass} />