mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

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

Add public service constant, use

+4 -1
+1
src/lib/constants.ts
··· 4 4 Platform.OS === 'android' ? 'http://10.0.2.2:2583' : 'http://localhost:2583' 5 5 export const STAGING_SERVICE = 'https://staging.bsky.dev' 6 6 export const BSKY_SERVICE = 'https://bsky.social' 7 + export const PUBLIC_BSKY_SERVICE = 'https://public.api.bsky.app' 7 8 export const DEFAULT_SERVICE = BSKY_SERVICE 8 9 const HELP_DESK_LANG = 'en-us' 9 10 export const HELP_DESK_URL = `https://blueskyweb.zendesk.com/hc/${HELP_DESK_LANG}`
+3 -1
src/state/queries/index.ts
··· 1 1 import {BskyAgent} from '@atproto/api' 2 2 3 + import {PUBLIC_BSKY_SERVICE} from '#/lib/constants' 4 + 3 5 export const PUBLIC_BSKY_AGENT = new BskyAgent({ 4 - service: 'https://public.api.bsky.app', 6 + service: PUBLIC_BSKY_SERVICE, 5 7 }) 6 8 7 9 export const STALE = {