Skip to content

Commit 5d8d1d9

Browse files
committed
Update svelte.config.js: replace "base" with "relative: true"
1 parent ab44cf6 commit 5d8d1d9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/routes/+layout.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
export const trailingSlash = 'always';
12
export const prerender = true;

svelte.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const config = {
2626
strict: true,
2727
}),
2828
paths: {
29-
base: '/sveltekit-sample',
29+
relative: true
3030
},
3131
prerender: {
3232
// Not needed because the models overview page has links to all the models – and sveltekit will automatically pre-render all reachable links!

0 commit comments

Comments
 (0)