Unverified Commit 88d64f9e authored by Josh Story's avatar Josh Story Committed by Hendrik Liebau

Revert "Include PPR routes in dynamicRoutes regardless of revalidate time (#9…"

This reverts commit 2d0ed312.
parent 2e753e23
......@@ -3345,10 +3345,7 @@ export default async function build(
}
}
const shouldEmitDynamicPrerenderRoutes =
!hasRevalidateZero || isRoutePPREnabled
if (shouldEmitDynamicPrerenderRoutes && isDynamicRoute(page)) {
if (!hasRevalidateZero && isDynamicRoute(page)) {
// When PPR fallbacks aren't used, we need to include it here. If
// they are enabled, then it'll already be included in the
// prerendered routes.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment