upptime/service-worker.js
2024-01-22 16:19:29 -05:00

2 lines
302 B
JavaScript

!function(){"use strict";self.addEventListener("install",(function(){self.skipWaiting()})),self.addEventListener("activate",(function(){self.registration.unregister().then((function(){return self.clients.matchAll()})).then((function(t){t.forEach((t=>t.navigate(t.url)))})).catch((function(){}))}))}();