🔨」 fix: fixed the profile page with the shitty profile picture

This commit is contained in:
2025-10-23 20:09:33 +02:00
parent 774581b9f6
commit b5d2244035

View File

@ -188,7 +188,9 @@ export default class extends Aview {
method: "GET",
credentials: "include",
});
picture.src = a.status === 200 ? `http://localhost:3002/users/${uuid}/avatar` : "https://api.kanel.ovh/pp";
picture.src = a.status === 200
? `http://localhost:3002/users/${uuid}/avatar?t=${Date.now()}`
: "https://api.kanel.ovh/pp";
picture.classList.add("text-neutral-900", "dark:text-white", "center", "h-18", "w-18", "mx-3", "reverse-border");
const nametag = profile.appendChild(document.createElement("div"));