Skip to content

Incorrect relative URL in css #478

Closed
@chuchiperriman

Description

@chuchiperriman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions