Skip to content

Commit 75305f5

Browse files
committed
..
1 parent 3114f5c commit 75305f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/nextjs/src/config/manifest/buildManifest.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ function getDynamicRouteSegment(name: string): string {
3838
// Required catchall: [...param]
3939
const paramName = name.slice(4, -1); // Remove [... and ]
4040
return `:${paramName}*`;
41-
}
42-
// Regular dynamic: [param]
43-
return `:${name.slice(1, -1)}`;
41+
}
42+
// Regular dynamic: [param]
43+
return `:${name.slice(1, -1)}`;
4444
}
4545

4646
function buildRegexForDynamicRoute(routePath: string): { pattern: string; paramNames: string[] } {

0 commit comments

Comments
 (0)