-
Notifications
You must be signed in to change notification settings - Fork 248
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
Incorrect relative URL in css #478
Comments
Happening for us as well. The weird thing is that for us it is the other way round. Without |
tvdeyen
referenced
this issue
Nov 15, 2021
* Process css files so that they get digested paths for asset files This is required so that we can use cssbundling-rails and reference images that will receive digested paths * Style * $1 is calculated before calling #gsub Co-authored-by: David Heinemeier Hansson <[email protected]>
The new url processor will change relative paths to absolute paths, but at least the absolute paths should be correct. @jcoyne can you take a look? |
Yes, I'll have a look. |
jcoyne
added a commit
to jcoyne/sprockets-rails
that referenced
this issue
Nov 19, 2021
dhh
pushed a commit
that referenced
this issue
Nov 22, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have updated sprockets-rails to 3.3.0 and now relative urls are wrong. With his line in css:
src: url(./fontawesome/fa-brands-400.eot);
the url is transformed to:
src: url(/./fontawesome/fa-brands-400.eot);
The first slash is incorrect because we have the font files in a path relative to the css, not in the root
The text was updated successfully, but these errors were encountered: