1
0
Fork 0
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:
mat 2024-09-28 02:11:30 +00:00
parent d205b35449
commit b06a5f7488
5 changed files with 2 additions and 6 deletions

View file

@ -0,0 +1 @@
export const prerender = true

View file

@ -0,0 +1 @@
export const prerender = true

View file

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

View file

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

View file

@ -9,8 +9,6 @@ export default {
build: {
target: 'es2022',
},
base: '',
}
/**