Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Check for null with API base URL (#983)
Leendert de Borstfe30116b338d
diff --git a/apps/browser-extension/src/utils/WebApiService.ts b/apps/browser-extension/src/utils/WebApiService.tsindex 3f0fb2020..f0deecbb0 100644--- a/apps/browser-extension/src/utils/WebApiService.ts+++ b/apps/browser-extension/src/utils/WebApiService.ts@@ -337,7 +337,7 @@ export class WebApiService {*/private async getApiUrl(): Promise<string> {const result = await storage.getItem('local:apiUrl') as string;- if (result.length === 0) {+ if (!result || result.length === 0) {return AppInfo.DEFAULT_API_URL;}