diff --git a/package.json b/package.json index b1fd5fe1..e16e77f1 100755 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "private": true, "contributors": [ "Pooya Parsa ", - "manniL ", - "galvez " + "Alexander Lichter ", + "Jonas Galvez " ], "scripts": { "test": "npm run lint && jest", diff --git a/packages/workbox/templates/sw.template.js b/packages/workbox/templates/sw.template.js index e1e901a3..a39a0a12 100644 --- a/packages/workbox/templates/sw.template.js +++ b/packages/workbox/templates/sw.template.js @@ -19,7 +19,7 @@ workbox.routing.registerRoute(new RegExp('<%= r.urlPattern %>'), workbox.strateg const strategy = workbox.strategies.staleWhileRevalidate() workbox.routing.registerRoute(new RegExp('/.*'), ({event}) => { return strategy.handle({event}) - .catch(() => caches.match('<%= options.offlinePage %>') + .catch(() => caches.match('<%= options.offlinePage %>')) })<% } %> <% if (options.routingExtensions) { %><%= options.routingExtensions %><% } %>