Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove unused auth-url

Manav Rathi6a1c82429aa6
diff --git a/apps/photos/.env.development b/apps/photos/.env.development
index 183c22e84c..0128d23f6b 100644
--- a/apps/photos/.env.development
+++ b/apps/photos/.env.development
@@ -56,10 +56,6 @@
# Enhancement: Consider moving that into the app/ folder in this repository.
# NEXT_PUBLIC_ENTE_FAMILY_PORTAL_ENDPOINT = http://localhost:3003
-# URL of the auth deployment. Currently unused
-# TODO (MR): Remove me
-# NEXT_PUBLIC_ENTE_AUTH_ENDPOINT = http://localhost:3004
-
# This in not useful when running locally. It is used to provide us a way to
# mark certain deployments as "staging" by setting environment variables in the
# CI job that deploys them on a remote server. See the `isDevDeployment`
diff --git a/packages/shared/network/api.ts b/packages/shared/network/api.ts
index 16aae2806e..640559874b 100644
--- a/packages/shared/network/api.ts
+++ b/packages/shared/network/api.ts
@@ -78,16 +78,6 @@ export const getFamilyPortalURL = () => {
return `https://family.ente.io`;
};
-// getAuthenticatorURL returns the endpoint for the authenticator which can be used to
-// view authenticator codes.
-export const getAuthURL = () => {
- const authURL = process.env.NEXT_PUBLIC_ENTE_AUTH_ENDPOINT;
- if (isDevDeployment() && authURL) {
- return authURL;
- }
- return `https://auth.ente.io`;
-};
-
export const getSentryTunnelURL = () => {
return `https://sentry-reporter.ente.io`;
};
diff --git a/turbo.json b/turbo.json
index 5ae0e80894..55bdfbe8c3 100644
--- a/turbo.json
+++ b/turbo.json
@@ -24,7 +24,6 @@
"NEXT_PUBLIC_ENTE_PAYMENT_ENDPOINT",
"NEXT_PUBLIC_ENTE_ALBUM_ENDPOINT",
"NEXT_PUBLIC_ENTE_FAMILY_PORTAL_ENDPOINT",
- "NEXT_PUBLIC_ENTE_AUTH_ENDPOINT",
"NEXT_PUBLIC_ENTE_WEB_ENDPOINT",
"NEXT_PUBLIC_IS_TEST_APP",
"NODE_ENV",