Skip to content

Commit 6242cc9

Browse files
committed
chore(mobile): point preview and production builds at prod API
EAS env.EXPO_PUBLIC_API_URL baked into preview/production profiles so builds don't rely on .env.local or a local dev server.
1 parent a40d21a commit 6242cc9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

apps/mobile/eas.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727
"preview": {
2828
"distribution": "internal",
2929
"channel": "preview",
30+
"env": {
31+
"EXPO_PUBLIC_API_URL": "https://qibla-admin.aqibrime.cloud"
32+
},
3033
"ios": {
3134
"resourceClass": "m-medium"
3235
},
@@ -37,6 +40,9 @@
3740
"production": {
3841
"channel": "production",
3942
"autoIncrement": true,
43+
"env": {
44+
"EXPO_PUBLIC_API_URL": "https://qibla-admin.aqibrime.cloud"
45+
},
4046
"ios": {
4147
"resourceClass": "m-medium"
4248
},

0 commit comments

Comments
 (0)