feat: favicon!!

This commit is contained in:
JustTemmie 2025-06-01 17:46:09 +02:00
parent cb5360c687
commit 256889a573
Signed by: justtemmie
SSH key fingerprint: SHA256:nBO+OwpTkd8LYhe38PIqdxmDvkIg9Vw2EbrRZM97dkU
3 changed files with 2 additions and 1 deletions

View file

@ -76,6 +76,7 @@ export const useAuth = () => {
if (!accessToken.value) return;
console.log("fetchuser access token:", accessToken.value);
const res = await fetchWithApi("/me") as UserResponse;
res.avatar = res.avatar ?? "https://gorb.b-cdn.net/avatar/default-pfp.png";
user.value = res;
return user.value;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Before After
Before After

View file

@ -57,7 +57,7 @@ export interface UserResponse {
uuid: string,
username: string,
display_name: string | null,
avatar: string | null,
avatar: string,
pronouns: string | null,
email?: string,
email_verified?: boolean