ai/at
1
0
Files
at/ios/patching/024-social-app-ios-disable-external-services.patch
2026-03-01 17:06:52 +09:00

42 lines
1.3 KiB
Diff

--- a/src/env/common.ts
+++ b/src/env/common.ts
@@ -88,7 +88,7 @@
* Metrics API host
*/
export const METRICS_API_HOST: string =
- process.env.EXPO_PUBLIC_METRICS_API_HOST || 'https://events.bsky.app'
+ process.env.EXPO_PUBLIC_METRICS_API_HOST || ''
/**
* Growthbook API host
@@ -128,9 +128,7 @@
*/
export const GEOLOCATION_DEV_URL = process.env.GEOLOCATION_DEV_URL
export const GEOLOCATION_PROD_URL = `https://ip.bsky.app`
-export const GEOLOCATION_URL = IS_DEV
- ? (GEOLOCATION_DEV_URL ?? GEOLOCATION_PROD_URL)
- : GEOLOCATION_PROD_URL
+export const GEOLOCATION_URL = null
/**
* URLs for the live-event config web worker. Can be a
@@ -138,9 +136,7 @@
*/
export const LIVE_EVENTS_DEV_URL = process.env.LIVE_EVENTS_DEV_URL
export const LIVE_EVENTS_PROD_URL = `https://live-events.workers.bsky.app`
-export const LIVE_EVENTS_URL = IS_DEV
- ? (LIVE_EVENTS_DEV_URL ?? LIVE_EVENTS_PROD_URL)
- : LIVE_EVENTS_PROD_URL
+export const LIVE_EVENTS_URL = null
/**
* URLs for the app-config web worker. Can be a
@@ -148,6 +144,4 @@
*/
export const APP_CONFIG_DEV_URL = process.env.APP_CONFIG_DEV_URL
export const APP_CONFIG_PROD_URL = `https://app-config.workers.bsky.app`
-export const APP_CONFIG_URL = IS_DEV
- ? (APP_CONFIG_DEV_URL ?? APP_CONFIG_PROD_URL)
- : APP_CONFIG_PROD_URL
+export const APP_CONFIG_URL = null