Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Handle trailing and leading slashes in config values #1

Closed
ericlarssen-wf opened this issue Oct 6, 2015 · 2 comments
Closed

Handle trailing and leading slashes in config values #1

ericlarssen-wf opened this issue Oct 6, 2015 · 2 comments

Comments

@ericlarssen-wf
Copy link

Adding a path such as /assets to ASSETREV_BASE_PATH will result in a path of /static//assets.

@WilliamMayor
Copy link

Similarly to this, my manifest.json file contains absolute URLs, and this caused paths to contain /static//xys.js.

I got round this by setting the ASSETREV_BASE_URL to not have a trailing slash. This means I have to hardcode my base URL for each environment (but that's not too arduous).

@njoyce njoyce closed this as completed in 4eb8e9a Jun 20, 2019
@ericlarssen-wf
Copy link
Author

😦

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants