π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix again
Manav Rathiad2dabcc962c
diff --git a/web/packages/next/origins.ts b/web/packages/next/origins.tsindex 8200df95a3..13937f42c0 100644--- a/web/packages/next/origins.ts+++ b/web/packages/next/origins.ts@@ -1,4 +1,5 @@import { getKV, setKV } from "@/next/kv";+import { inWorker } from "./env";/*** Return the origin (scheme, host, port triple) that should be used for making@@ -36,7 +37,7 @@ export const apiURL = async (path: string) => (await apiOrigin()) + path;*/export const customAPIOrigin = async () => {let origin = await getKV("apiOrigin");- if (!origin) {+ if (!origin && !inWorker()) {// TODO: Migration of apiOrigin from local storage to indexed DB// Remove me after a bit (27 June 2024).const legacyOrigin = localStorage.getItem("apiOrigin");