I am using static data from "assets" folder, by importing like this:
import programmeManagment from './../../../assets/mock-json/programme-management.json';
and using in service like:
return of(JSON.parse(JSON.stringify(programmeManagment)));
it works fine in local host. when i move the code to server, it shows the error as:
https:xxx.azurewebsites.net/assets/mock-json/programme-management.json
404 Not Found
response shows as:
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
how to come up with this?