diff --git a/packages/client/src/pages/instance-info.vue b/packages/client/src/pages/instance-info.vue index 6e8560ef4..6e13da0d6 100644 --- a/packages/client/src/pages/instance-info.vue +++ b/packages/client/src/pages/instance-info.vue @@ -4,7 +4,7 @@
- + {{ instance.name || `(${i18n.ts.unknown})` }}
@@ -134,6 +134,7 @@ import { definePageMetadata } from '@/scripts/page-metadata'; import { i18n } from '@/i18n'; import MkUserCardMini from '@/components/MkUserCardMini.vue'; import MkPagination from '@/components/MkPagination.vue'; +import { getProxiedImageUrlNullable } from '@/scripts/media-proxy'; const props = defineProps<{ host: string; @@ -145,6 +146,7 @@ let meta = $ref(null); let instance = $ref(null); let suspended = $ref(false); let isBlocked = $ref(false); +let faviconUrl = $ref(null); const usersPagination = { endpoint: iAmModerator ? 'admin/show-users' : 'users' as const, @@ -163,6 +165,7 @@ async function fetch() { }); suspended = instance.isSuspended; isBlocked = instance.isBlocked; + faviconUrl = getProxiedImageUrlNullable(instance.faviconUrl, 'preview') ?? getProxiedImageUrlNullable(instance.iconUrl, 'preview'); } async function toggleBlock(ev) {