feat(mobile,pwa): implement responsive viewport, mobile drawer and pwa support
Deploy Development / deploy (push) Successful in 20s

This commit is contained in:
Lars Stommer committed 2026-10-25 08:55:52 +01:00
1 parent 83177f31f8
commit 5c99ce6f22
11 files changed
+367 -12

No files matched your search

@@ -66,4 +66,11 @@
}
}
} );
// 3. PWA Service Worker Registrierung
if ( 'serviceWorker' in navigator && ( window.location.protocol === 'https:' || window.location.hostname === 'localhost' || window.location.hostname === '192.168.2.49' ) ) {
window.addEventListener( 'load', function () {
navigator.serviceWorker.register( '/sw.js' ).catch( function () {} );
} );
}
}() );