Swap URL
This commit is contained in:
@@ -30,7 +30,7 @@ export const DEFAULT_GEOLOCATION: Device['geolocation'] = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function getGeolocation(): Promise<Device['geolocation']> {
|
async function getGeolocation(): Promise<Device['geolocation']> {
|
||||||
const res = await fetch(`https://bsky.app/ipcc`)
|
const res = await fetch(`https://bapp-config.bsky.workers.dev/config`)
|
||||||
|
|
||||||
if (!res.ok) {
|
if (!res.ok) {
|
||||||
throw new Error(`geolocation: lookup failed ${res.status}`)
|
throw new Error(`geolocation: lookup failed ${res.status}`)
|
||||||
|
|||||||
Reference in New Issue
Block a user