fix: attempt to fix 404 on direct page access
This commit is contained in:
parent
8e85d9bc98
commit
4e26c4683d
@ -7,9 +7,6 @@ export default defineContentConfig({
|
||||
type: "page",
|
||||
source: "*.md",
|
||||
schema: z.object({
|
||||
hero: property(z.object({})).inherit(
|
||||
"app/components/TitleSection.vue",
|
||||
),
|
||||
date: z.date(),
|
||||
author: z.object({
|
||||
name: z.string(),
|
||||
|
||||
@ -32,6 +32,8 @@ export default defineNuxtConfig({
|
||||
nitro: {
|
||||
prerender: {
|
||||
ignore: ["/developers", "/contributors", "/download"],
|
||||
crawlLinks: true,
|
||||
routes: ["/"],
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user