update
This commit is contained in:
17
patching/8980-social-app-disable-external-services.diff
Normal file
17
patching/8980-social-app-disable-external-services.diff
Normal file
@@ -0,0 +1,17 @@
|
||||
--- 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
|
||||
Reference in New Issue
Block a user