mirror of
https://github.com/mat-1/matdoesdev.git
synced 2025-08-02 06:36:04 +00:00
actually prerender cat config page
This commit is contained in:
parent
d205b35449
commit
b06a5f7488
5 changed files with 2 additions and 6 deletions
1
src/routes/neko/+page.server.ts
Normal file
1
src/routes/neko/+page.server.ts
Normal file
|
@ -0,0 +1 @@
|
|||
export const prerender = true
|
1
src/routes/retro/+page.server.ts
Normal file
1
src/routes/retro/+page.server.ts
Normal file
|
@ -0,0 +1 @@
|
|||
export const prerender = true
|
|
@ -1,7 +1,5 @@
|
|||
import type { Load } from '@sveltejs/kit'
|
||||
|
||||
export const prerender = true
|
||||
|
||||
export const load: Load = async ({ fetch }) => {
|
||||
const posts = await fetch('/blog-preview.json').then((r: Response) => r.json())
|
||||
const status = await fetch('/status.json').then((r: Response) => r.json())
|
||||
|
|
|
@ -26,8 +26,6 @@ const config = {
|
|||
'*',
|
||||
'/404',
|
||||
'/451',
|
||||
'/retro',
|
||||
'/neko',
|
||||
'/minecraft-scanning/minecraft-server-background.png',
|
||||
// redirect /blog/* to /*
|
||||
'/blog/matdoes-dev-markdown',
|
||||
|
|
|
@ -9,8 +9,6 @@ export default {
|
|||
build: {
|
||||
target: 'es2022',
|
||||
},
|
||||
|
||||
base: '',
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue