0

I am using Angular 8 for development of an application. So after that i deployed my application through ng-build --prod. And i got the dist folder with all my file and pasted on server.

Everything is running fine but one image is not loading and it is present in the main root folder.enter image description here

I checked all things but this image is not loading even my files is also placed in correct path. enter image description here

I also check all permissions and also give Everyone group permission to allow full control but this error is not gone with that.

Thanks

Uxmaan Ali
  • 339
  • 1
  • 15

1 Answers1

1

This is not an Angular issue.

Most probably your IIS is not configured for the SVG Mime Type.

Have a look at: svg is not working on IIS webserver on localhost on how to configure it properly.

kacase
  • 1,993
  • 1
  • 18
  • 27
  • Hi kacase. Thank you for your answer and really helpfull because i spend two days to find where is the error. But thanks again. – Uxmaan Ali Apr 09 '20 at 13:51