diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/constants.ts | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/lib/constants.ts b/src/lib/constants.ts index b96529b1f..bbfdbe27f 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -90,11 +90,9 @@ export const BSKY_FEED_OWNER_DIDS = [ 'did:plc:q6gjnaw2blty4crticxkmujt', ] -export const GIPHY_API_URL = 'https://api.giphy.com' -export const GIPHY_API_KEY = Platform.select({ - ios: 'ydVxhrQkwlcUjkVKx15mF6vyaNJbMeez', - android: 'Vwj3Ib7857dj3EcIg24Hiz1LbRVdGeYF', - default: 'vyL3hQQ8AipwcmIB8kFvg0NDs9faWg7G', -}) -export const GIPHY_PRIVACY_POLICY = - 'https://support.giphy.com/hc/en-us/articles/360032872931-GIPHY-Privacy-Policy' +export const GIF_SERVICE = 'https://gifs.bsky.app' + +export const GIF_SEARCH = (params: string) => + `${GIF_SERVICE}/tenor/v2/search?${params}` +export const GIF_FEATURED = (params: string) => + `${GIF_SERVICE}/tenor/v2/featured?${params}` |