fes.js/registerSW.js

1 line
148 B
JavaScript

if('serviceWorker' in navigator) {window.addEventListener('load', () => {navigator.serviceWorker.register('/fes.js/sw.js', { scope: '/fes.js/' })})}