Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Images from css file are not loading when host my static files on digitalocean spaces.
I have some images in my static file img folder but images that I am using in my scss as background images
background: url('/static/img/hero.jpg') are not loading when I host my static file on digitalocean space. but it works if i not host my static files to digitalocean spaces and also works on my development server. I don’t know what is the problem. can someone help me out it’s a bit urgent?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×