Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Prepending of relative and absolute path to same asset fails #72

Open
wouterbin opened this issue Jul 5, 2019 · 0 comments
Open

Prepending of relative and absolute path to same asset fails #72

wouterbin opened this issue Jul 5, 2019 · 0 comments

Comments

@wouterbin
Copy link

wouterbin commented Jul 5, 2019

When having multiple paths to same asset, but mixed with absolute and relative paths, prepending fails:

let relativePath = "assets/images/some-image.svg";
let absolutePath = "/assets/images/some-image.svg";

generates this:

let relativePath = "https://cloudfront.net/assets/images/some-image-fingerprinted.svg";
let absolutePath = "/https://cloudfront.net/assets/images/some-image-fingerprinted.svg";

I created PR #71 with a failing spec. I couldn't find and fix the code myself....

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

No branches or pull requests

1 participant