about summary refs log tree commit diff
path: root/src/env/common.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/env/common.ts')
-rw-r--r--src/env/common.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/env/common.ts b/src/env/common.ts
index 7b64c35a6..210ad037c 100644
--- a/src/env/common.ts
+++ b/src/env/common.ts
@@ -93,3 +93,16 @@ export const GCP_PROJECT_ID: number =
   process.env.EXPO_PUBLIC_GCP_PROJECT_ID === undefined
     ? 0
     : Number(process.env.EXPO_PUBLIC_GCP_PROJECT_ID)
+
+/**
+ * URL for the bapp-config web worker _development_ environment. Can be a
+ * locally running server, see `env.example` for more.
+ */
+export const BAPP_CONFIG_DEV_URL = process.env.BAPP_CONFIG_DEV_URL
+
+/**
+ * Dev environment passthrough value for bapp-config web worker. Allows local
+ * dev access to the web worker running in `development` mode.
+ */
+export const BAPP_CONFIG_DEV_BYPASS_SECRET: string =
+  process.env.BAPP_CONFIG_DEV_BYPASS_SECRET