Skip to content

Commit 6b4a2ce

Browse files
committed
test: remove rsc trailing slash
1 parent 3ec181f commit 6b4a2ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime/src/templates/handlerUtils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ export const getPathsForRoute = (
291291
),
292292
)
293293
// rsc routes
294-
routes.push(route.endsWith('/') ? `${route.slice(0, -1) || '/index'}.rsc/` : `${route}.rsc`)
294+
routes.push(`${route.endsWith('/') ? route.slice(0, -1) || '/index' : route}.rsc`)
295295
return routes
296296
}
297297

0 commit comments

Comments
 (0)