Skip to content

armgit / ente

Public Imported from GitHub
0

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

Use :3001 for all the aux services

Manav Rathi478435f8061c
diff --git a/web/apps/payments/README.md b/web/apps/payments/README.md
index 08a064ec3b..c6a370c034 100644
--- a/web/apps/payments/README.md
+++ b/web/apps/payments/README.md
@@ -34,7 +34,7 @@ NEXT_PUBLIC_STRIPE_US_PUBLISHABLE_KEY = stripe_publishable_key
3. Update the `whitelisted-redirect-urls` so that it supports redirecting to this locally running project
-Assuming that your local payments app is running on `192.168.1.2:3004`, your
+Assuming that your local payments app is running on `192.168.1.2:3001`, your
`museum.yaml` should look as follows.
```yaml
@@ -42,7 +42,7 @@ stripe:
us:
key: stripe_dev_key
webhook-secret: stripe_dev_webhook_secret
- whitelisted-redirect-urls: ["http://192.168.1.2:3004/frameRedirect"]
+ whitelisted-redirect-urls: ["http://192.168.1.2:3001/frameRedirect"]
path:
success: ?status=success&session_id={CHECKOUT_SESSION_ID}
cancel: ?status=fail&reason=canceled
diff --git a/web/apps/photos/.env.development b/web/apps/photos/.env.development
index 6570671f99..34cf40a88c 100644
--- a/web/apps/photos/.env.development
+++ b/web/apps/photos/.env.development
@@ -37,6 +37,10 @@
#
# NEXT_PUBLIC_ENTE_ACCOUNTS_ENDPOINT = http://localhost:3001
+# The Ente API endpoint for payments related functionality
+#
+# NEXT_PUBLIC_ENTE_PAYMENTS_ENDPOINT = http://localhost:3001
+
# The URL for the shared albums deployment
#
# The shared albums are served from the photos app code, and "albums.ente.io" is
@@ -62,11 +66,7 @@
#
# Enhancement: Consider moving that into the app/ folder in this repository.
#
-# NEXT_PUBLIC_ENTE_FAMILY_PORTAL_ENDPOINT = http://localhost:3003
-
-# The Ente API endpoint for payments related functionality
-#
-# NEXT_PUBLIC_ENTE_PAYMENTS_ENDPOINT = http://localhost:3004
+# NEXT_PUBLIC_ENTE_FAMILY_ENDPOINT = http://localhost:3001
# The JSON which describes the expected results of our integration tests. See
# `upload.test.ts` for more details of the expected format.
diff --git a/web/packages/shared/network/api.ts b/web/packages/shared/network/api.ts
index 5aa1af272b..3cda6b615d 100644
--- a/web/packages/shared/network/api.ts
+++ b/web/packages/shared/network/api.ts
@@ -83,7 +83,7 @@ export const getAlbumsURL = () => {
* family plans.
*/
export const getFamilyPortalURL = () => {
- const familyURL = process.env.NEXT_PUBLIC_ENTE_FAMILY_PORTAL_ENDPOINT;
+ const familyURL = process.env.NEXT_PUBLIC_ENTE_FAMILY_ENDPOINT;
if (familyURL) {
return familyURL;
}