Skip to content

Commit 1698d89

Browse files
committed
chore: migrate avatar service to unavatar.webp.se
Updates the avatar service endpoint from unavatar.io to unavatar.webp.se across all components to ensure continued service availability and potentially improve performance with WebP format support. Affects avatar displays in referer metrics, link icons, and testimonials sections.
1 parent bbb6f0d commit 1698d89

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/components/dashboard/analysis/metrics/name/Referer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ defineProps<{
1515
class="float-left h-5 w-5 p-0.5"
1616
>
1717
<AvatarImage
18-
:src="`https://unavatar.io/${name}?fallback=false`"
18+
:src="`https://unavatar.webp.se/${name}?fallback=false`"
1919
:alt="name"
2020
loading="lazy"
2121
/>

app/components/dashboard/links/Link.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function getLinkHost(url: string): string | undefined {
2323
}
2424
2525
const shortLink = computed(() => `${origin}/${props.link.slug}`)
26-
const linkIcon = computed(() => `https://unavatar.io/${getLinkHost(props.link.url)}?fallback=https://sink.cool/icon.png`)
26+
const linkIcon = computed(() => `https://unavatar.webp.se/${getLinkHost(props.link.url)}?fallback=https://sink.cool/icon.png`)
2727
2828
const { copy, copied } = useClipboard({ source: shortLink.value, copiedDuring: 400 })
2929

app/components/home/Testimonials.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const typedTestimonials = testimonials as Testimonial[]
5555
<Avatar class="size-9">
5656
<AvatarImage
5757
:alt="testimonial.name"
58-
:src="`https://unavatar.io/x/${testimonial.username}`"
58+
:src="`https://unavatar.webp.se/x/${testimonial.username}`"
5959
loading="lazy"
6060
referrerpolicy="no-referrer"
6161
/>

0 commit comments

Comments
 (0)