π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Move
Manav Rathi2504046e26b1
diff --git a/web/apps/auth/src/components/OTPDisplay.tsx b/web/apps/auth/src/components/OTPDisplay.tsxdeleted file mode 100644index e69de29bb2..0000000000diff --git a/web/apps/auth/src/pages/auth.tsx b/web/apps/auth/src/pages/auth.tsxindex ad614c2f4a..c8e5166cfc 100644--- a/web/apps/auth/src/pages/auth.tsx+++ b/web/apps/auth/src/pages/auth.tsx@@ -18,8 +18,8 @@ import { useRouter } from "next/router";import { HOTP, TOTP } from "otpauth";import { AppContext } from "pages/_app";import React, { useContext, useEffect, useState } from "react";-import { getAuthCodes } from "services";-import { Code } from "types/code";+import { Code } from "services/code";+import { getAuthCodes } from "services/remote";const AuthenticatorCodesPage = () => {const appContext = useContext(AppContext);diff --git a/web/apps/auth/src/types/code.ts b/web/apps/auth/src/services/code.tssimilarity index 100%rename from web/apps/auth/src/types/code.tsrename to web/apps/auth/src/services/code.tsdiff --git a/web/apps/auth/src/services/index.ts b/web/apps/auth/src/services/remote.tssimilarity index 99%rename from web/apps/auth/src/services/index.tsrename to web/apps/auth/src/services/remote.tsindex 8ef166bcd4..633d5f9d05 100644--- a/web/apps/auth/src/services/index.ts+++ b/web/apps/auth/src/services/remote.ts@@ -6,7 +6,7 @@ import { getEndpoint } from "@ente/shared/network/api";import { getToken } from "@ente/shared/storage/localStorage/helpers";import { getActualKey } from "@ente/shared/user";import { HttpStatusCode } from "axios";-import { Code } from "types/code";+import { Code } from "services/code";const ENDPOINT = getEndpoint();