Skip to content

Commit

Permalink
Try to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCheung0422 committed Jul 6, 2024
1 parent a383705 commit a8dde45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/routes/+error.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script lang="ts">
import { page } from '$app/stores';
import { base } from "$app/paths";
export let msg = $page.error!.message;
export let status = $page.status.toString();
</script>
Expand All @@ -22,7 +23,7 @@

<footer class="bg-green-200" aria-labelledby="footer-heading">
<div class="flex p-12 flex-col items-center m-auto px-6 text-3xl">
<a href="/">Go back to home</a>
<a href="{base}/">Go back to home</a>
</div>
</footer>
</div>

0 comments on commit a8dde45

Please sign in to comment.