From 65936c2df47ff0791ca4b0c01ae2331d41ad26db Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Thu, 8 Aug 2019 18:58:54 +0200 Subject: [PATCH] fix(@schematics/angular): add `manifest.webmanifest` to the list of prefetched files in ngws-config.json In the latest versions of Chrome Version 76.0.3809.100, the `manifest.webmanifest` is being requested when offline and is caused a 504 error. https://github.com/angular/angular-cli/issues/15259#issuecomment-519047384 --- .../angular/service-worker/files/ngsw-config.json.template | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/schematics/angular/service-worker/files/ngsw-config.json.template b/packages/schematics/angular/service-worker/files/ngsw-config.json.template index 6100922d1b02..0adc9fb8690f 100644 --- a/packages/schematics/angular/service-worker/files/ngsw-config.json.template +++ b/packages/schematics/angular/service-worker/files/ngsw-config.json.template @@ -9,6 +9,7 @@ "files": [ "/favicon.ico", "/index.html", + "/manifest.webmanifest", "/*.css", "/*.js" ]