Skip to content

Conversation

donasaur
Copy link
Contributor

Previously, if target='http://localhost:9060/appEndpoint' and req.url='', the url the proxied request will hit is: 'http://localhost:9060/appEndpoint**/**'

With the change, if target='http://localhost:9060/appEndpoint' and req.url='', the url the proxied request will hit is: 'http://localhost:9060/appEndpoint'

This is helpful if the app endpoint is to a router that is sensitive to the trailing slash (e.g., a Rails router)

@indexzero
Copy link
Member

+1

indexzero added a commit that referenced this pull request Oct 18, 2015
Removed unspecified trailing slash in proxy url
@indexzero indexzero merged commit 6b65c42 into http-party:master Oct 18, 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