Skip to content

Commit af21d74

Browse files
committed
fix: offlinePage syntax error
1 parent 261cfaf commit af21d74

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"private": true,
55
"contributors": [
66
"Pooya Parsa <pooya@pi0.ir>",
7-
"manniL <hello@lichter.io>",
8-
"galvez <jonasgalvez@gmail.com>"
7+
"Alexander Lichter <hello@lichter.io>",
8+
"Jonas Galvez <jonasgalvez@gmail.com>"
99
],
1010
"scripts": {
1111
"test": "npm run lint && jest",

packages/workbox/templates/sw.template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ workbox.routing.registerRoute(new RegExp('<%= r.urlPattern %>'), workbox.strateg
1919
const strategy = workbox.strategies.staleWhileRevalidate()
2020
workbox.routing.registerRoute(new RegExp('/.*'), ({event}) => {
2121
return strategy.handle({event})
22-
.catch(() => caches.match('<%= options.offlinePage %>')
22+
.catch(() => caches.match('<%= options.offlinePage %>'))
2323
})<% } %>
2424

2525
<% if (options.routingExtensions) { %><%= options.routingExtensions %><% } %>

0 commit comments

Comments
 (0)