|
@@ -496,6 +496,7 @@ async function injectRoutingInformation(context: GetServerSidePropsContext, prop
|
|
|
else {
|
|
else {
|
|
|
props.isNotFound = page.isEmpty;
|
|
props.isNotFound = page.isEmpty;
|
|
|
props.isNotCreatable = false;
|
|
props.isNotCreatable = false;
|
|
|
|
|
+ props.isForbidden = false;
|
|
|
// /62a88db47fed8b2d94f30000 ==> /path/to/page
|
|
// /62a88db47fed8b2d94f30000 ==> /path/to/page
|
|
|
if (isPermalink && page.isEmpty) {
|
|
if (isPermalink && page.isEmpty) {
|
|
|
props.currentPathname = page.path;
|
|
props.currentPathname = page.path;
|