diff --git a/src/presets/github-pages.ts b/src/presets/github-pages.ts index 365e7de1fb..cf6d9dfc2a 100644 --- a/src/presets/github-pages.ts +++ b/src/presets/github-pages.ts @@ -9,6 +9,7 @@ export const githubPages = defineNitroPreset({ }, prerender: { routes: [ + "/", // https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site "/404.html", ],