GET /xrpc/app.bsky.actor.searchActorsTypeahead typeahead.waow.tech
16
fork

Configure Feed

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

fix: handle full URLs in zig search backend avatar output

the zig search backend unconditionally wrapped avatar_url in the CDN
prefix. now checks for https:// prefix and passes full URLs through
as-is, matching the worker's avatarUrl() behavior. also removes
temporary diagnostic logging from admin handler.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+5 -1
+5 -1
ingester/src/search.zig
··· 228 228 } 229 229 if (avatar_url.len > 0) { 230 230 try jw.objectField("avatar"); 231 - try jw.print("\"https://cdn.bsky.app/img/avatar/plain/{s}/{s}\"", .{ did, avatar_url }); 231 + if (mem.startsWith(u8, avatar_url, "https://")) { 232 + try jw.write(avatar_url); 233 + } else { 234 + try jw.print("\"https://cdn.bsky.app/img/avatar/plain/{s}/{s}\"", .{ did, avatar_url }); 235 + } 232 236 } 233 237 if (!mem.eql(u8, associated, "{}") and associated.len > 2) { 234 238 try jw.objectField("associated");