Browse Source

Adding Sentry script to service worker

master
Mobius K 2 years ago
parent
commit
dbfaa8bae7
  1. 1
      scripts/service-worker.ts

1
scripts/service-worker.ts

@ -17,6 +17,7 @@ self.addEventListener("install", (event: InstallEvent) => event.waitUntil(
"/manifest.json",
"/offline.html",
"/robots.txt",
"/sentry.js"
]).then(() =>
// @ts-ignore New service workers require a tab close and re-open to activate without this
self.skipWaiting()

Loading…
Cancel
Save