From c07548d53f7551946676526bb8c4696848d762f9 Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Sat, 6 Feb 2021 00:39:06 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=96=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/sitemap.xml.ts | 3 +++ pages/[pageId].tsx | 9 --------- pages/index.tsx | 10 +--------- 3 files changed, 4 insertions(+), 18 deletions(-) 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 }