π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Allow localhost in development
Manav Rathie96eeb2315e3
diff --git a/web/apps/accounts/src/pages/passkeys/flow.tsx b/web/apps/accounts/src/pages/passkeys/flow.tsxindex 5e62885f34..75f3bd9b38 100644--- a/web/apps/accounts/src/pages/passkeys/flow.tsx+++ b/web/apps/accounts/src/pages/passkeys/flow.tsx@@ -1,3 +1,4 @@+import { isDevBuild } from "@/next/env";import log from "@/next/log";import { clientPackageName } from "@/next/types/app";import {@@ -41,7 +42,8 @@ const PasskeysFlow = () => {!(redirectURL.host.endsWith(".ente.io") ||redirectURL.host.endsWith(".ente.sh") ||- redirectURL.host.endsWith("bada-frame.pages.dev")+ redirectURL.host.endsWith("bada-frame.pages.dev") ||+ (isDevBuild && redirectURL.host.endsWith("localhost"))) &&redirectURL.protocol !== "ente:" &&redirectURL.protocol !== "enteauth:"