visola / go-proxy

A proxy to help with local development in the microservices world
MIT License
18 stars 2 forks source link

fix(mapping): do not append slash when not asked to #22

Closed ghost closed 4 years ago

ghost commented 4 years ago

When mapping the whole path, a slash was being mistakenly appended to the end. Like:

- from: /test
  to: http://some.com/another

Would map to: http://some.com/another/. That trailing slash causes problems for some servers.