2022-02-02 20:26:14 +01:00
|
|
|
// In development, always fetch from the network and do not enable offline support.
|
|
|
|
|
// This is because caching would make development more difficult (changes would not
|
|
|
|
|
// be reflected on the first load after each change).
|
2026-10-18 09:50:46 +02:00
|
|
|
// Web Push has workers of its own, one registration per persona at push/{slot}/ (push-worker.js, the same file in
|
|
|
|
|
// development and published builds): this worker receives no pushes.
|
2022-02-02 20:26:14 +01:00
|
|
|
self.addEventListener('fetch', () => { });
|