1
0
Fork 0
mirror of https://github.com/mat-1/matdoesdev.git synced 2025-08-02 14:46:04 +00:00

prerender old site

This commit is contained in:
mat 2023-09-05 22:18:44 -05:00
parent cd403c121a
commit d463026924
2 changed files with 1 additions and 2 deletions

View file

@ -1,7 +1,5 @@
import type { Load } from '@sveltejs/kit'
// export const csr = false
export const load: Load = async ({ fetch }) => {
const posts = await fetch('/blog.json').then((r: Response) => r.json())

View file

@ -26,6 +26,7 @@ const config = {
'*',
'/404',
'/451',
'/old',
'/minecraft-scanning/minecraft-server-background.png',
// redirect /blog/* to /*
'/blog/matdoes-dev-markdown',