Skip to content

Commit 33f8f61

Browse files
author
pooya parsa
committed
fix(onesignal): add cache query to sw.js
1 parent fb0d38c commit 33f8f61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/onesignal/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function addOneSignal (moduleOptions) {
3333
cdn: true,
3434
GcmSenderId: '482941778795',
3535
importScripts: [
36-
'/sw.js'
36+
'/sw.js?' + Date.now()
3737
],
3838
init: {
3939
allowLocalhostAsSecureOrigin: true,

0 commit comments

Comments
 (0)