I am facing an issue with my Ember-cli 1.13 application where all images are loading correctly except those in a specific component. The component is named "list-item" and is defined as follows:
{{list-item url="list-url" name="List Name" price="240"}}
Internally, the component structure looks like this:
<a href="http://example.com/{{url}}">
<img src="/{{url}}.png" alt='Picture of the {{name}}' />
<p class="item-name">{{name}}</p>
...
</a>
However, when I build and deploy the app to Heroku, the path for the images turns out to be broken:
https://ridiculous-name-123123.herokuapp.com/list-item.png
This path is similar to localhost but with a different domain. Interestingly, all other images load without any issues when not used within components.
I am unable to figure out what could be causing this problem. Any insights would be appreciated!