diff --git a/api/sitemap.xml.ts b/api/sitemap.xml.ts index 5fca792..29b942a 100644 --- a/api/sitemap.xml.ts +++ b/api/sitemap.xml.ts @@ -29,6 +29,9 @@ const createSitemap = ( ${host} + + + ${host}/ diff --git a/pages/[pageId].tsx b/pages/[pageId].tsx index afbbaae..15a093f 100644 --- a/pages/[pageId].tsx +++ b/pages/[pageId].tsx @@ -25,15 +25,6 @@ export const getStaticProps = async (context) => { // we don't want to publish the error version of this page, so // let next.js know explicitly that incremental SSG failed throw err - - // return { - // props: { - // error: { - // statusCode: err.statusCode || 500, - // message: err.message - // } - // } - // } } } diff --git a/pages/index.tsx b/pages/index.tsx index b5aeb89..a10269e 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -14,17 +14,9 @@ export const getStaticProps = async () => { // we don't want to publish the error version of this page, so // let next.js know explicitly that incremental SSG failed throw err - - // return { - // props: { - // error: { - // statusCode: err.statusCode || 500, - // message: err.message - // } - // } - // } } } + export default function NotionDomainPage(props) { return }