fix(sync): defer ImmediateUploadService initialization until data loads

Prevents race condition where upload attempts happen before sync config
is loaded from IndexedDB, eliminating 404 errors to default baseUrl
during app startup and E2E tests.
This commit is contained in:
Johannes Millan 2026-01-22 17:33:17 +01:00
parent a8da38d840
commit 70aae24449
3 changed files with 18 additions and 14 deletions

View file

@ -33,7 +33,7 @@ jobs:
ssh://git@github.com/
- name: Install npm Packages
run: npm ci
run: npm i
- name: Generate environment file
run: npm run env