Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(@angular-devkit/build-angular): ensure route has leading slash in…
… prerender builder

Ensures that the route always starts with a leading slash when calling the render function, preventing potential issues with relative paths or incorrect URL resolution during prerendering.
  • Loading branch information
alan-agius4 committed Apr 16, 2026
commit ef5481c2718988b0c81bc31ea881b316baf949d3
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ async function _renderUniversal(
inlineCriticalCss: !!normalizedStylesOptimization.inlineCritical,
minifyCss: !!normalizedStylesOptimization.minify,
outputPath,
route,
route: route[0] === '/' ? route : '/' + route,
Comment thread
alan-agius4 marked this conversation as resolved.
serverBundlePath,
};

Expand Down
Loading