18 lines
760 B
Diff
18 lines
760 B
Diff
--- a/src/state/geolocation/const.ts
|
|
+++ b/src/state/geolocation/const.ts
|
|
@@ -3,9 +3,10 @@ import {BAPP_CONFIG_DEV_URL, IS_DEV} from '#/env'
|
|
import {type Device} from '#/storage'
|
|
|
|
export const IPCC_URL = `https://bsky.app/ipcc`
|
|
-export const BAPP_CONFIG_URL_PROD = `https://ip.bsky.app/config`
|
|
-export const BAPP_CONFIG_URL = IS_DEV
|
|
- ? (BAPP_CONFIG_DEV_URL ?? BAPP_CONFIG_URL_PROD)
|
|
- : BAPP_CONFIG_URL_PROD
|
|
+// Disabled for self-hosted environment to avoid CORS errors
|
|
+// export const BAPP_CONFIG_URL_PROD = `https://ip.bsky.app/config`
|
|
+// export const BAPP_CONFIG_URL = IS_DEV
|
|
+// ? (BAPP_CONFIG_DEV_URL ?? BAPP_CONFIG_URL_PROD)
|
|
+// : BAPP_CONFIG_URL_PROD
|
|
+export const BAPP_CONFIG_URL = null
|
|
export const GEOLOCATION_CONFIG_URL = BAPP_CONFIG_URL
|