2020-04-30 06:54:48 +03:00
|
|
|
// PWA
|
|
|
|
|
if ('serviceWorker' in navigator) {
|
|
|
|
|
window.addEventListener('load', function() {
|
2022-10-23 09:20:43 +03:00
|
|
|
navigator.serviceWorker.register('/pwa-service-worker.js');
|
2020-04-30 06:54:48 +03:00
|
|
|
});
|
|
|
|
|
}
|
2025-10-11 19:23:47 +03:00
|
|
|
|
|
|
|
|
// Import board converter for on-demand conversion
|
2025-10-12 03:48:21 +03:00
|
|
|
import '/client/lib/boardConverter';
|
|
|
|
|
import '/client/components/boardConversionProgress';
|
2025-10-11 19:23:47 +03:00
|
|
|
|
|
|
|
|
// Import migration manager and progress UI
|
2025-10-12 03:48:21 +03:00
|
|
|
import '/client/lib/migrationManager';
|
|
|
|
|
import '/client/components/migrationProgress';
|
2025-10-11 19:41:09 +03:00
|
|
|
|
|
|
|
|
// Import cron settings
|
2025-10-12 03:48:21 +03:00
|
|
|
import '/client/components/settings/cronSettings';
|