π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Inline
Manav Rathi72de042b53a7
diff --git a/web/packages/next/origins.ts b/web/packages/next/origins.tsindex db5b55aef2..13b44fc5ed 100644--- a/web/packages/next/origins.ts+++ b/web/packages/next/origins.ts@@ -4,11 +4,10 @@ import { nullToUndefined } from "@/utils/transform";* Return the origin (scheme, host, port triple) that should be used for making* API requests to museum.*- * This defaults to {@link defaultAPIOrigin}, but can be overridden when self- * hosting or developing by setting the `NEXT_PUBLIC_ENTE_ENDPOINT` environment- * variable.+ * This defaults "https://api.ente.io", Ente's production API servers. but can+ * be overridden when self hosting or developing (see {@link customAPIOrigin}).*/-export const apiOrigin = () => customAPIOrigin() ?? defaultAPIOrigin;+export const apiOrigin = () => customAPIOrigin() ?? "https://api.ente.io";/*** Return the overridden API origin, if one is defined by either (in priority@@ -26,12 +25,6 @@ export const customAPIOrigin = () =>process.env.NEXT_PUBLIC_ENTE_ENDPOINT ??undefined;-/**- * Default value of {@link apiOrigin}: "https://api.ente.io", Ente's production- * API servers.- */-export const defaultAPIOrigin = "https://api.ente.io";-/*** Return the origin that should be used for uploading files.*