Use :3001 for all the aux services
This commit is contained in:
parent
8f0ef055c5
commit
478435f806
3 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue