You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[v4.6.0] bug: svg file is not found when use baseHref #18637
Thanks for the issue. It looks like you are trying to modify the baseHref of your application. Certain things like ionicons need to be served from the root in order to work properly.
If you would like to change your app's routing structure, we recommend using the Angular Router to accomplish this, not a project/build configuration file.
I am going to close this as this is not an Ionic bug.
Thanks!
Reacted by Euler Chavez, David Boho and ashish gehlot
Thanks! I think I may have misunderstood the original issue, so I am going to reopen this. We are investigating now, and I will update this thread when there is more to share.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Activity
liamdebeasi commentedon Jun 27, 2019
Thanks for the issue. It looks like you are trying to modify the
baseHrefof your application. Certain things like ionicons need to be served from the root in order to work properly.If you would like to change your app's routing structure, we recommend using the Angular Router to accomplish this, not a project/build configuration file.
I am going to close this as this is not an Ionic bug.
Thanks!
Jimmysh commentedon Jun 28, 2019
@liamdebeasi basehref is always supported until v4.6 release. It is optional for me. because It is easy fix after prod build.
liamdebeasi commentedon Jul 1, 2019
Thanks! I think I may have misunderstood the original issue, so I am going to reopen this. We are investigating now, and I will update this thread when there is more to share.
Thanks! 🙂
pauloedsr commentedon Jul 5, 2019
the build with the --base-href
ng build --base-href /path-web-server/ --prodis not working with the svg ioniconsl0co commentedon Jul 16, 2019
Is this fixed or just closed?
liamdebeasi commentedon Jul 16, 2019
This was fixed in 4.6.1.
ionitron-bot commentedon Aug 15, 2019
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.