From 4187b41f1462d654f2cdf7a4c0821f7ac76e25ef Mon Sep 17 00:00:00 2001 From: vineyardbovines Date: Tue, 14 Apr 2026 14:31:37 -0400 Subject: [PATCH] remove todos --- src/state/queries/klipy.ts | 8 ++------ src/state/queries/tenor.ts | 5 ++--- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/state/queries/klipy.ts b/src/state/queries/klipy.ts index 7f385752a8..85c4b7dae4 100644 --- a/src/state/queries/klipy.ts +++ b/src/state/queries/klipy.ts @@ -91,8 +91,8 @@ function createKlipyApi( /** * Returns the static URL for a KLIPY GIF preview image. - * Currently a pass-through; will route through the bsky proxy once the - * backend proxy PR (tango) is deployed. + * KLIPY images are served directly from their CDN (static.klipy.com), + * unlike Tenor which routes through t.gifs.bsky.app. */ export function klipyStaticUrl(gifUrl: string) { try { @@ -108,10 +108,6 @@ export function klipyStaticUrl(gifUrl: string) { * Maps a native KLIPY gif object onto the Tenor-shaped `Gif` type so * downstream consumers (resolveGif, composer drafts, ExternalEmbed, etc.) * continue to work unchanged. - * - * NOTE: the exact KLIPY response shape needs to be verified against the - * backend proxy once the tango PR is deployed — some fields here are - * best-effort based on what's documented today. */ function normalizeKlipyGif(k: KlipyGif): Gif { const toMediaObject = (v: KlipyFileVariant) => ({ diff --git a/src/state/queries/tenor.ts b/src/state/queries/tenor.ts index dc802806e2..3adc9139c8 100644 --- a/src/state/queries/tenor.ts +++ b/src/state/queries/tenor.ts @@ -105,9 +105,8 @@ export function tenorUrlToBskyGifUrl(tenorUrl: string) { /** * Returns the appropriate URL for a GIF preview image. - * Rewrites Tenor URLs through the bsky proxy; KLIPY URLs pass through - * directly (will route through the bsky proxy once the tango backend-proxy - * PR is deployed). + * Rewrites Tenor URLs through the bsky proxy (t.gifs.bsky.app); + * KLIPY URLs pass through directly to their CDN. */ export function gifPreviewUrl(gifUrl: string) { try {