π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Ren
Manav Rathi836712c020e8
diff --git a/web/packages/accounts/pages/credentials.tsx b/web/packages/accounts/pages/credentials.tsxindex 4d6bae3f57..4d130dd336 100644--- a/web/packages/accounts/pages/credentials.tsx+++ b/web/packages/accounts/pages/credentials.tsx@@ -18,7 +18,7 @@ import {} from "@ente/shared/crypto/helpers";import type { B64EncryptionResult } from "@ente/shared/crypto/types";import { CustomError } from "@ente/shared/error";-import { accountsAppURL, getEndpoint } from "@ente/shared/network/api";+import { accountsAppURL, apiOrigin } from "@ente/shared/network/api";import InMemoryStore, { MS_KEYS } from "@ente/shared/storage/InMemoryStore";import {LS_KEYS,@@ -313,12 +313,12 @@ const Header_ = styled("div")``;const ConnectionDetails: React.FC = () => {- const apiOrigin = new URL(getEndpoint());+ const host = new URL(apiOrigin()).host;return (<ConnectionDetails_><Typography variant="small" color="text.faint">- {apiOrigin.host}+ {host}</Typography></ConnectionDetails_>);