mirror of
https://github.com/mat-1/matdoesdev.git
synced 2025-08-02 14:46:04 +00:00
actually prerender old site
This commit is contained in:
parent
d463026924
commit
a5a49de2f3
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
import type { Load } from '@sveltejs/kit'
|
||||
|
||||
export const prerender = true
|
||||
|
||||
export const load: Load = async ({ fetch }) => {
|
||||
const posts = await fetch('/blog.json').then((r: Response) => r.json())
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue