Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve URL creation. #1
After shipping in Heroku, a hack was added to allow a production build to force HTTPS on the generated URLs that are returned when mapping from the repository to the JSON response. This is because Heroku's load balancers terminate SSL/TLS and hit applications directly using HTTP.
This hack introduced two undesirable changes:
A possible solution is to modify the incoming request using some middleware, possibly after detecting the standard