Kaynağa Gözat

Merged from the base branch and resolved the remaining conflict.

Shunm634-source 3 yıl önce
ebeveyn
işleme
a8e78f683e

+ 0 - 5
packages/app/src/pages/[[...path]].page.tsx

@@ -371,12 +371,7 @@ async function injectRoutingInformation(context: GetServerSidePropsContext, prop
   }
   }
   else if (page == null) {
   else if (page == null) {
     props.isNotFound = true;
     props.isNotFound = true;
-<<<<<<< HEAD
-=======
-
     props.IsNotCreatable = !isCreatablePage(currentPathname);
     props.IsNotCreatable = !isCreatablePage(currentPathname);
-
->>>>>>> 0c7cb70c9ed478d00abbee1657599fb302c0f54a
     // check the page is forbidden or just does not exist.
     // check the page is forbidden or just does not exist.
     const count = isPermalink ? await Page.count({ _id: pageId }) : await Page.count({ path: currentPathname });
     const count = isPermalink ? await Page.count({ _id: pageId }) : await Page.count({ path: currentPathname });
     props.isForbidden = count > 0;
     props.isForbidden = count > 0;