diff options
author | Eric Bailey <git@esb.lol> | 2025-09-04 11:07:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-04 11:07:12 -0500 |
commit | f8ae0540a062e6346baf9fbf0481f769fb23a120 (patch) | |
tree | fc888e55258169e8e7246a1c099aab78fc7d9c99 /src/env/common.ts | |
parent | 625b4e61dbf11c1d485bf8e8265df4d5af0c9657 (diff) | |
download | voidsky-f8ae0540a062e6346baf9fbf0481f769fb23a120.tar.zst |
Provide geo-gated users optional GPS fallback for precise location data (#8973)
Diffstat (limited to 'src/env/common.ts')
-rw-r--r-- | src/env/common.ts | 13 |
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 |