diff --git a/app.js b/app.js
index 13321b7..5770bac 100644
--- a/app.js
+++ b/app.js
@@ -1230,7 +1230,11 @@ class DienstplanApp {
// Initialize app when DOM is ready
let app;
-document.addEventListener('DOMContentLoaded', () => {
+document.addEventListener('DOMContentLoaded', async () => {
+ if (window.DataSync) {
+ try { await window.DataSync.boot(); }
+ catch (e) { console.error('Sync-Boot fehlgeschlagen, App laeuft lokal weiter:', e); }
+ }
app = new DienstplanApp();
window.app = app;
});
diff --git a/index.html b/index.html
index 1d76018..369f8bc 100644
--- a/index.html
+++ b/index.html
@@ -326,6 +326,7 @@
+