diff --git a/views/service-worker.ejs b/views/service-worker.ejs index df48684..332451a 100644 --- a/views/service-worker.ejs +++ b/views/service-worker.ejs @@ -1,8 +1,8 @@ importScripts( - 'https://www.gstatic.com/firebasejs/9.22.0/firebase-app-compat.js' + 'https://www.gstatic.com/firebasejs/10.8.0/firebase-app-compat.js' ) importScripts( - 'https://www.gstatic.com/firebasejs/9.22.0/firebase-messaging-compat.js' + 'https://www.gstatic.com/firebasejs/10.8.0/firebase-messaging-compat.js' ) // Inspect serviceWorker logs with: https://stackoverflow.com/a/39155070 @@ -35,4 +35,4 @@ try { }) } catch (error) { console.log('ServiceWorker error', error) -} \ No newline at end of file +}