drewzboto / grunt-connect-proxy

Grunt Connect support for proxying API calls during development
MIT License
423 stars 122 forks source link

Fix proxy task to work with https connections. #101

Closed Xevi closed 9 years ago

Xevi commented 9 years ago
Done

Server target as string instead of options Object (http-proxy defines the target as a string here) Add a getTargetUrl utility on the utils lib to get the target url based on the proxy options. Set the headers host explicitly on proxy creation to avoid host mismatches between local server and proxy. Add tests for getTargetUrl utility.

ruiaraujo commented 9 years ago

Thanks for the fixes and for the tests.

Xevi commented 9 years ago

you are welcome :)