I have an Ember-cli 1.13 application in which there are many images stored in a public directory. Now it will correctly load all images except those that are in a specific component.
The component is called like this:
{{list-item url="list-url" name="List Name" price="240"}}
Internally, the component is as follows:
<a href="http://example.com/{{url}}">
<img src="/{{url}}.png" alt='Picture of the {{name}}' />
<p class="item-name">{{name}}</p>
...
</a>
When I create the application and launch the hero, the broken path
https:
This is the same as the localhost path, with the exception of another domain.
All other images work when they are not used with components.
Where am I going wrong?
source
share