push-worker.js 353 B

123456
  1. self[`appKey`] = `07d74c576c648b07e17f75eefa25d12d`;
  2. self[`hostUrl`] = `https://cdn.gravitec.net/sw`;
  3. self.importScripts(`${self[`hostUrl`]}/worker.js`);
  4. // uncomment and set path to your service worker
  5. // if you have one with precaching functionality (has oninstall, onactivate event listeners)
  6. // self.importScripts('path-to-your-sw-with-precaching')