I have a CSS with a class like this:
.c-rating__item {
-webkit-box-flex: 0;
-webkit-flex: 0 0 24px;
-ms-flex: 0 0 24px;
flex: 0 0 24px;
height: 24px;
background: url("/resource/fivestar/stars.svg");
background-position: 0 0;
cursor: pointer;
}
And it's working fine. The problem is when I generate the package and install it in a different Org, I get a 404 error:
Request URL: https://xxxxxxxxxxxxxx/resource/fivestar/stars.svg
Request Method: GET
Status Code: 404 Not Found
Any idea how I can solve this?
stars.svg
file is included in the static resources of your package. - ideas.salesforce.com/s/idea/a0B8W00000N58EtUAJ/…