Skip to content

Commit c06601d

Browse files
committed
Update static site config
1 parent 6e18420 commit c06601d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/routes/+layout.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<script lang="ts">
1+
<script lang="ts">
2+
export const prerender = true;
3+
24
import { lang } from '../stores.js';
35
import Meta from '$lib/Meta.svelte';
46
import Header from '$lib/Header.svelte';

svelte.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const config = {
1616
// these options are set automatically — see below
1717
pages: 'build',
1818
assets: 'build',
19-
fallback: 'index.html',
19+
fallback: undefined,
2020
precompress: false,
2121
strict: true,
2222
}),

0 commit comments

Comments
 (0)