ai/at
1
0

fix social-app ios patch langs

This commit is contained in:
2026-02-19 07:22:32 +09:00
parent 8db064d8c0
commit 78de769d81
4 changed files with 15 additions and 20 deletions

View File

@@ -1,12 +1,6 @@
diff --git a/src/env/common.ts b/src/env/common.ts
index 04e98c49c..a4ee47932 100644
--- a/src/env/common.ts
+++ b/src/env/common.ts
@@ -107,19 +107,17 @@ export const GCP_PROJECT_ID: number =
/**
* URLs for the app config web worker. Can be a
* locally running server, see `env.example` for more.
+ * Disabled for self-hosted environment to avoid CORS errors
@@ -128,9 +128,7 @@
*/
export const GEOLOCATION_DEV_URL = process.env.GEOLOCATION_DEV_URL
export const GEOLOCATION_PROD_URL = `https://ip.bsky.app`
@@ -17,8 +11,7 @@ index 04e98c49c..a4ee47932 100644
/**
* URLs for the live-event config web worker. Can be a
* locally running server, see `env.example` for more.
+ * Disabled for self-hosted environment
@@ -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`
@@ -26,3 +19,6 @@ index 04e98c49c..a4ee47932 100644
- ? (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