Using URL with protocol as baseHref during build removes one slash while using the --localize option #17029
Closed
1 of 15 tasks
Labels
area: @angular-devkit/build-angular
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Milestone
🐞 Bug report
Command (mark with an
x
)Is this a regression?
The localize option was not available yet
Description
Adding a full URL (https://path.to.assets.app.com) as baseHref to the build command in combination with the
--localize
removes one slash, resulting the base href in theindex.html
to be:This will fail, because the assets will be loaded from a relative url, with this base href appended to it, which is not very nice
🔬 Minimal Reproduction
Create an app with localization configured, and run the build command:
🌍 Your Environment
The text was updated successfully, but these errors were encountered: