-
Notifications
You must be signed in to change notification settings - Fork 12k
angular-cli@webpack option --proxy does not work #1877
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It seems Angular CLI 1.0.0-beta.11-webpack.9-4 is mixing up --proxy and --proxy-config options:
|
It doesn't work in the same way, no. You can see some documentation in #1896, it's going to be merged soon. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
The '--proxy' option does not work - or at least does not work the same as it did with the systemjs version. For example, I can run:
ng serve --proxy http://example.com
and request using Http:
and I can see it makes a request of the local server but the local server returns the application entry page (index.html).
This version of angular-cli calls out:
which calls out:
and I have verified that both these are present at those versions.
Linux - Ubuntu 14,04
angular-cli: 1.0.0-beta.11-webpack.2
node: 6.2.1
os: linux x64
The text was updated successfully, but these errors were encountered: