about summary refs log tree commit diff
path: root/app.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.config.js')
-rw-r--r--app.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/app.config.js b/app.config.js
index 2552d3489..dcbb0e459 100644
--- a/app.config.js
+++ b/app.config.js
@@ -40,6 +40,8 @@ module.exports = function (config) {
       ? process.env.BSKY_ANDROID_VERSION_CODE
       : process.env.BSKY_IOS_BUILD_NUMBER
 
+  const IS_DEV = process.env.EXPO_PUBLIC_ENV === 'development'
+
   return {
     expo: {
       version: VERSION,
@@ -103,7 +105,7 @@ module.exports = function (config) {
                 scheme: 'https',
                 host: 'bsky.app',
               },
-              {
+              IS_DEV && {
                 scheme: 'http',
                 host: 'localhost:19006',
               },