New issue
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
Loading svg fails when base-href set #707
Comments
In angular.json Change: |
This is not the issue. The icons are in the right place and work on platform builds except browser, i.e. when I have to change the base href from '/' to '/something/'. By the way, I'm building using this
which results on this on the index.html <base href="/something/"> |
This was already fixed on 4.6.1 ionic-team/ionic-framework#18737 (comment) Cheers |
Sorry for the confusion... I was on 4.7.0 and I was having the problem and it didn't matter what the base ref was. This was the fix for me. Thanks. |
I am also encountering this issue. |
I am using angular 7.2.2 with ionic 4.6.0.
Everything is fine until i prepare my final deployment where base-href is set to some "/context/path/". Everything keeps working except ionicon resolution, still requesting the resources from "/svg/iconname.svg".
Anything i can do beside hardcoding the src myself?
The text was updated successfully, but these errors were encountered: