1
0
Fork 0
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:
mat 2023-09-05 22:20:14 -05:00
parent d463026924
commit a5a49de2f3

View file

@ -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())