Disable service worker initializer

Correction, we only de-register stuff that we know is ours:

https://github.com/discourse/discourse/blob/2863abefdda8ca6fbef244761e89130013f48d15/app/assets/javascripts/discourse/initializers/register-service-worker.js.es6#L17-L24

One spinner is that we de-register apple cause it is buggy at the moment:

https://github.com/discourse/discourse/blob/2863abefdda8ca6fbef244761e89130013f48d15/app/assets/javascripts/discourse/initializers/register-service-worker.js.es6#L12-L12

As to using scope here, I think it makes sense to make the change to Discourse provided scope is well supported.

3 Likes