Closed cipchk closed 10 months ago
It looks like Angular returns the proxy data directly after startup, but in fact proxyConfig should only be for HttpClient.
I don't know where this expectation comes from, but it does not align with my expectation. All traffic goes through the proxy server, so routing /
to a different host will then cause all requests to be proxied as requested.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Command
serve
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Angular start fails when setting a '/' proxy path.
Screenshot:
It looks like Angular returns the proxy data directly after startup, but in fact
proxyConfig
should only be forHttpClient
.Minimal Reproduction
proxy.conf.json
config:"proxyConfig": "proxy.conf.json"
inangular.json
app.config.ts
Exception or Error
No response
Your Environment
Anything else relevant?
No response