Files
decePubClient/wwwroot/service-worker.js
T

6 lines
450 B
JavaScript
Raw Normal View History

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).
// 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', () => { });