-
Notifications
You must be signed in to change notification settings - Fork 12k
[email protected] (RC5 starter pack) "--proxy option" stop working #1712
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
Please see PR #1487 |
Duplicate of #889 |
Thanks @mmrath, found a temporary hack: angular-cli/addons/ng2/tasks/ng-serve-webpack.ts:33 ... if anyone else just want to get it going until it is configurable |
Closed by #1487 |
This workaround works, thanks for the reference. In my case I need an additional option as well:
It would be nice that, once this is permanently solved, there would be some way to pass in more robust options than just a string - possibly even a place to add a function/closure to be able to do some simple request mapping |
@filipesilva This might be a dumb question but if this issue is closed by #1487, how come proxy doesn't work on the latest Webpack version ( |
Please see #1896 for documentation on how to use the --proxy-config option. |
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. |
window 10
angular-cli: 1.0.0-beta.11-webpack.2
node: 6.3.1
os: win32 x64
Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
create a new project and serve it with ng serve --proxy http://some/proxy/url
Worked in the rc4 project structure
The text was updated successfully, but these errors were encountered: