Skip to content

Conversation

aksakalli
Copy link

generator-gulp-angular has dependency to ~0.9.0 of http-proxy-middleware.

When you remove comments from the proxy configuration line in gulp/server.js of generated project and run it; you would get a warning:

*************************************
[HPM] Deprecated "option.proxyHost"
      Use "option.changeOrigin" or "option.headers.host" instead
      "option.proxyHost" will be removed in future release.
*************************************

So proxyHost option has changed to proxyHost flag as suggested. Also see http-proxy-middleware v0.9.0 README.md:

  • (DEPRECATED) option.proxyHost: Use option.changeOrigin = true instead.

@Swiip
Copy link
Owner

Swiip commented Nov 18, 2015

It has changed since I did this, thanks.

Swiip added a commit that referenced this pull request Nov 18, 2015
deprecated option proxyHost was replaced with changeOrigin parameter
@Swiip Swiip merged commit 3400791 into Swiip:master Nov 18, 2015
@zckrs zckrs mentioned this pull request Nov 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants