We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cac889c commit 97b3e31Copy full SHA for 97b3e31
packages/runtime/src/templates/edge-shared/rsc-data.ts
@@ -35,7 +35,7 @@ const rscifyPath = (route: string) => {
35
export const getRscDataRouter = ({ routes: staticRoutes, dynamicRoutes }: PrerenderManifest): EdgeFunction => {
36
const staticRouteSet = new Set(
37
Object.entries(staticRoutes)
38
- .filter(([, { dataRoute }]) => dataRoute.endsWith('.rsc'))
+ .filter(([, { dataRoute }]) => dataRoute?.endsWith('.rsc'))
39
.map(([route]) => route),
40
)
41
0 commit comments