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 3114f5c commit 75305f5Copy full SHA for 75305f5
packages/nextjs/src/config/manifest/buildManifest.ts
@@ -38,9 +38,9 @@ function getDynamicRouteSegment(name: string): string {
38
// Required catchall: [...param]
39
const paramName = name.slice(4, -1); // Remove [... and ]
40
return `:${paramName}*`;
41
- }
42
- // Regular dynamic: [param]
43
- return `:${name.slice(1, -1)}`;
+ }
+ // Regular dynamic: [param]
+ return `:${name.slice(1, -1)}`;
44
}
45
46
function buildRegexForDynamicRoute(routePath: string): { pattern: string; paramNames: string[] } {
0 commit comments