From 99475cdc822f52c749fd71c2d8a36486602b386e Mon Sep 17 00:00:00 2001 From: Andy Tudhope Date: Fri, 29 Mar 2019 10:37:05 +0200 Subject: [PATCH] More tests --- index.html | 2 +- service-worker.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index be2750f..d68bfe9 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Discover Dapps | Status
\ No newline at end of file +Discover Dapps | Status
\ No newline at end of file diff --git a/service-worker.js b/service-worker.js index ed5b4bc..39c4be9 100644 --- a/service-worker.js +++ b/service-worker.js @@ -14,7 +14,7 @@ importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js"); importScripts( - "/precache-manifest.9e252c6c9e5b18850c2b49bb02fc9f13.js" + "/discover-dapps/precache-manifest.9e252c6c9e5b18850c2b49bb02fc9f13.js" ); workbox.clientsClaim(); @@ -28,7 +28,7 @@ self.__precacheManifest = [].concat(self.__precacheManifest || []); workbox.precaching.suppressWarnings(); workbox.precaching.precacheAndRoute(self.__precacheManifest, {}); -workbox.routing.registerNavigationRoute("/index.html", { +workbox.routing.registerNavigationRoute("/discover-dapps/index.html", { blacklist: [/^\/_/,/\/[^\/]+\.[^\/]+$/], });