Skip to content

Commit c483ef1

Browse files
author
Дмитрий Макаров
committed
little fix for second page
1 parent 7b822e9 commit c483ef1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/routes/no/+page.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<script lang="ts">
33
import { goto } from "$app/navigation";
44
import { config } from "../../config";
5+
import { base } from "$app/paths";
56
67
let containerRef: HTMLDivElement;
78
let noButtonRef: HTMLButtonElement;
@@ -20,7 +21,7 @@
2021
}
2122
2223
function handleYes() {
23-
goto("/yes");
24+
goto(`${base}/yes`);
2425
}
2526
</script>
2627

0 commit comments

Comments
 (0)