I have an application that retrieves config information from a json file using "httpClient.get".
The problem comes in when I run the application offline, as in, I open the "index.html" file, the service fails with an error "Http failure response for ./assets/config.json: 0 Unknown Error".
Example code:
let testUrl = "./assets/test.json";
let test = await this.httpClient.get(testUrl).toPromise();
Is there a way to load/read files in Angular 7 when in offline mode?