fix(web-app): remove unused sqlite.worker.js and wasi-dummy.js, update Config.kt and service worker logic
- Deleted `sqlite.worker.js` and `wasi-dummy.js` to clean up outdated resources. - Updated `Config.kt` to use a shared `Json` instance for deserialization. - Revised service worker for cache versioning and to bypass caching of `web-app.js` and `.map` files. - Enhanced debug logging and improved handling of uncaught errors in new `sqlite.worker.js`. Signed-off-by: Stefan Mogeritsch <stefan.mo.co@gmail.com>
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ package at.mocode.frontend.core.navigation
|
||||
import at.mocode.frontend.core.domain.models.User
|
||||
|
||||
/**
|
||||
* Abstraction to obtain the current authenticated user (or null if guest).
|
||||
* Abstraction to get the current authenticated user (or null if guest).
|
||||
* Implementations live in shells/apps and provide access to the actual auth state.
|
||||
*/
|
||||
interface CurrentUserProvider {
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import at.mocode.frontend.core.domain.models.AppRoles
|
||||
|
||||
/**
|
||||
* Deep link handling with minimal auth-aware guard via CurrentUserProvider.
|
||||
* This version is self-contained in core:navigation and has no dependency on shared app store.
|
||||
* This version is self-contained in core:navigation and has no dependency on the shared app store.
|
||||
*/
|
||||
class DeepLinkHandler(
|
||||
private val navigation: NavigationPort,
|
||||
|
||||
Reference in New Issue
Block a user