We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This CSS works in dev but will break in S3 because it resolves to the S3 subdomain for Amazon without the bucket name:
CSS: background: url('/images/logo.png')
background: url('/images/logo.png')
Modifying that to a relative path will work in prod, but breaks dev due to now the assets dir is nested: (public/assets/public/foo)
CSS: background: url('../images/logo.png')
background: url('../images/logo.png')
I don't see a background-image in the sample css, how are you pathing to images with nap?
The text was updated successfully, but these errors were encountered:
Have you tried using the cdnUrl option? This is how I point to assets on S3.
Sorry, something went wrong.
Yes, I am using cdnUrl to create S3 links.
The issue is the pathing to the images bucket in S3 when using cdnUrl.
No branches or pull requests
This CSS works in dev but will break in S3 because it resolves to the S3 subdomain for Amazon without the bucket name:
CSS:
background: url('/images/logo.png')
Modifying that to a relative path will work in prod, but breaks dev due to now the assets dir is nested: (public/assets/public/foo)
CSS:
background: url('../images/logo.png')
I don't see a background-image in the sample css, how are you pathing to images with nap?
The text was updated successfully, but these errors were encountered: