You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
What modules are relevant for this feature request?
aspnetcore-engine
builders
common
express-engine
hapi-engine
module-map-ngfactory-loader
Description
Using Angular CLI, one is able to use a file (namely proxy.conf.json) and name this as proxyConfig in dev-server target options of angular.json, or as a parameter to ng serve.
Describe the solution you'd like
It would be preferable to have proxyConfig as an available option for ssr-dev-server as well.
Describe alternatives you've considered
Three main workarounds spring to mind;
Routing middleware which redirects the request in the server.ts file
HTTP Interceptor
environment variable
However, all three requires changes to code. There is a reason the proxyConfig exists for dev-server; the same reasons could be applied for ssr-dev-server.
george3447, mrtnbroder, vdumbrav, tommueller, smrb76 and 10 more