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