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

*/assets is being removed by posify urls #29

Open
Slashek opened this issue Jun 17, 2020 · 2 comments
Open

*/assets is being removed by posify urls #29

Slashek opened this issue Jun 17, 2020 · 2 comments

Comments

@Slashek
Copy link

Slashek commented Jun 17, 2020

If I have a file app/assets/something/assets/example.css the end result of posify URLs is {{ 'example.css' | asset_url }}, it should be {{ 'something/assets/example.css' | assets_url }}

@DeanmvSG
Copy link

@pavelloz I've done a patch for this here if it helps -> Siteglide/siteglide-cli@c8c6872 (you might want to do a nicer one!)

This seems to be a common issue with Wordpress where some assets are at /wp-admin/themes/theme_name/assets/css/main.css

@pavelloz
Copy link
Contributor

I think there will be 1500 edge cases with that and something will always fail. Lets do it and wait for another case to fail ;)

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

3 participants