I have a project in Anglular 4 which has services getting JSON data from 'assets' folder. I created the dist folder with 'ng build' command and then added to IIS under default sites. In the 'index.html', I set .
The Index page loads ok using url like -
http://bla1.bla2.bla3.com/DistFolder
However, I get error for the files i am referring in my service withing the 'assets' folder. I have some jsons and png file in that assets folder.
I get error like below -
Get http://bla1.bla2.bla3.com/assets/somefile.json 404 (not found)
Your help is much appreciated.
Thanks in advance.