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;
}