mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-03-19 02:22:11 +01:00
Improve loading speed of desktop app (#4865)
# Description of Changes Improve loading speed of desktop app by loading a default config until the backend has spawned.
This commit is contained in:
7
frontend/src/core/services/backendReadinessGuard.ts
Normal file
7
frontend/src/core/services/backendReadinessGuard.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* Default backend readiness guard (web builds do not need to wait for
|
||||
* anything outside the browser, so we always report ready).
|
||||
*/
|
||||
export async function ensureBackendReady(): Promise<boolean> {
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user