fix: attempt to fix 404 on direct page access

This commit is contained in:
Bjorn Beishline 2026-02-06 12:34:34 -07:00
parent 8e85d9bc98
commit 4e26c4683d
2 changed files with 2 additions and 3 deletions

View File

@ -7,9 +7,6 @@ export default defineContentConfig({
type: "page", type: "page",
source: "*.md", source: "*.md",
schema: z.object({ schema: z.object({
hero: property(z.object({})).inherit(
"app/components/TitleSection.vue",
),
date: z.date(), date: z.date(),
author: z.object({ author: z.object({
name: z.string(), name: z.string(),

View File

@ -32,6 +32,8 @@ export default defineNuxtConfig({
nitro: { nitro: {
prerender: { prerender: {
ignore: ["/developers", "/contributors", "/download"], ignore: ["/developers", "/contributors", "/download"],
crawlLinks: true,
routes: ["/"],
}, },
}, },
}); });