// the service wants signed urls and the secret is server side, so this points // at the route that signs export const avatarUrl = (did: string, width?: number): string => `/avatar/${encodeURIComponent(did)}${width ? `?size=${width}` : ""}`;