Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update IS_PROD check (#2337)

* Update IS_PROD check to work now and after federation

* Use correct sandbox PDS

* Just use simple check for now

authored by

Eric Bailey and committed by
GitHub
4baef7a2 1b0c73a2

+3 -2
+3 -2
src/lib/constants.ts
··· 41 41 } 42 42 43 43 export function IS_STAGING(url: string) { 44 - return !IS_LOCAL_DEV(url) && !IS_PROD(url) 44 + return url.startsWith('https://staging.bsky.dev') 45 45 } 46 46 47 47 export function IS_PROD(url: string) { ··· 51 51 // -prf 52 52 return ( 53 53 url.startsWith('https://bsky.social') || 54 - url.startsWith('https://api.bsky.app') 54 + url.startsWith('https://api.bsky.app') || 55 + /bsky\.network\/?$/.test(url) 55 56 ) 56 57 } 57 58