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",
|
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(),
|
||||||
|
|||||||
@ -32,6 +32,8 @@ export default defineNuxtConfig({
|
|||||||
nitro: {
|
nitro: {
|
||||||
prerender: {
|
prerender: {
|
||||||
ignore: ["/developers", "/contributors", "/download"],
|
ignore: ["/developers", "/contributors", "/download"],
|
||||||
|
crawlLinks: true,
|
||||||
|
routes: ["/"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user