Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Synchronize the location and origin trailing '/' #30

Closed
wants to merge 1 commit into from

Conversation

ankon
Copy link
Contributor

@ankon ankon commented Mar 24, 2016

If the location ends with one, and the origin doesn't: add a '/' to the origin.
If the location does not end with a slash, but the origin does: remove the trailing slash from the origin.


This is one way of fixing/improving #29

I'm not 100% sure here, maybe the better approach would be to just remove any automatic slash handling. With this change it is at least "consistent" what is happening.

If the location ends with one, and the origin doesn't: add a '/' to the origin.
If the location does not end with a slash, but the origin does: remove the trailing slash from the origin.
@jmervine
Copy link

👍

@jmervine
Copy link

@rdsharma

@edmorley
Copy link
Member

edmorley commented Jun 9, 2022

Hi!

This buildpack is now deprecated and we are recommending people move the more actively maintained heroku-buildpack-nginx. For migration advice see here.

As such, I'm closing this PR out since we won't be making further changes to this buildpack.

@edmorley edmorley closed this Jun 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants