From 152de207747ecc82d96bc677825f4a1d8de3e7f3 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Thu, 6 Sep 2018 00:28:37 +0300 Subject: [PATCH] fix(docs-infra): re-enable SW offline mode (#25826) This basically reverts #25692, since Firebase has fixed the issue with `/index.html` redirection on their side. PR Close #25826 --- aio/ngsw-config.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aio/ngsw-config.json b/aio/ngsw-config.json index fdf91a3439..f005b6b4b9 100644 --- a/aio/ngsw-config.json +++ b/aio/ngsw-config.json @@ -1,5 +1,5 @@ { - "index": "/", + "index": "/index.html", "assetGroups": [ { "name": "app-shell", @@ -7,6 +7,7 @@ "updateMode": "prefetch", "resources": { "files": [ + "/index.html", "/pwa-manifest.json", "/app/search/search-worker.js", "/assets/images/favicons/favicon.ico",