mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 11:18:54 +08:00
1 line
148 B
JavaScript
1 line
148 B
JavaScript
if('serviceWorker' in navigator) {window.addEventListener('load', () => {navigator.serviceWorker.register('/fes.js/sw.js', { scope: '/fes.js/' })})} |