Skip to content

Commit 88729be

Browse files
committed
chore: check baseurl
1 parent 8fd9984 commit 88729be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/OgImage/BlogPost.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ const formattedAuthorNames = computed(() => {
119119
>
120120
<img
121121
v-if="author.avatar"
122-
:src="author.avatar"
122+
:src="`${useRuntimeConfig().app.baseURL}${author.avatar.replace(/^\//, '')}`"
123123
:alt="author.name"
124124
class="w-full h-full object-cover"
125125
/>

0 commit comments

Comments
 (0)