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:
parent
cd403c121a
commit
d463026924
2 changed files with 1 additions and 2 deletions
|
@ -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())
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ const config = {
|
|||
'*',
|
||||
'/404',
|
||||
'/451',
|
||||
'/old',
|
||||
'/minecraft-scanning/minecraft-server-background.png',
|
||||
// redirect /blog/* to /*
|
||||
'/blog/matdoes-dev-markdown',
|
||||
|
|
Loading…
Add table
Reference in a new issue