Description
Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
Yes
Description
Hello,
As the Vite and Esbuild are out of the developer preview, I tried to use it for my company projects.
It works well except that for each of our apps we had a specific behaviour that we didn't notice before using Vite.
All our app are using a baseHref like this:
"baseHref": "/myapp/"
But all links to our apps are like this:
http://mydomain.com/myapp
What's happening without Vite and EsBuild is that the trailing "/" was automatically added (don't know by who exactly), and by using Vite and Esbuild, it's not added automatically anymore we are getting an error page:
The server is configured with a public base URL of /myapp/ - did you mean to visit /myapp/ instead?
Did you know about this behaviour (didn't find any issue about it) ?
Do you plan to fix it or are you considering that it is now a standard behaviour ?
Thanks for your answer !
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
The server is configured with a public base URL of /myapp/ - did you mean to visit [/myapp/](http://mydomain:9999/myapp/) instead?
Please provide the environment you discovered this bug in (run ng version
)
Angular/cli 17.0.5
Node v18.13.0
Anything else?
No response