Skip to content

Commit c78540d

Browse files
committed
Remove hardcoded url for Upsun/Platform and replace it by the workaround method
1 parent 2c195e6 commit c78540d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.platform/applications.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
variables:
8686
env:
8787
NEXT_PUBLIC_API_ROUTE_PREFIX: 'api'
88-
NEXT_PUBLIC_API_URL: 'https://upsun-deployment-config-3xlvpkq-kxux3rltbhsgo.fr-3.platformsh.site/api'
88+
# NEXT_PUBLIC_API_URL: 'Set this as an environment variable in Platform.sh'
8989

9090
# The size of the persistent disk of the application (in MB). Minimum value is 128.
9191
disk: 2048

.upsun/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ applications:
66
variables:
77
env:
88
NEXT_PUBLIC_API_ROUTE_PREFIX: 'api'
9-
NEXT_PUBLIC_API_URL: 'https://upsun-deployment-config-3xlvpkq-kxux3rltbhsgo.fr-3.platformsh.site/api'
9+
# NEXT_PUBLIC_API_URL: 'Set this as an environment variable in Upsun'
1010
mounts:
1111
"/.npm":
1212
source: "storage"

0 commit comments

Comments
 (0)