mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-12-31 21:56:41 +01:00
「🔨」 fix: fixed the profile page with the shitty profile picture
This commit is contained in:
@ -188,7 +188,9 @@ export default class extends Aview {
|
|||||||
method: "GET",
|
method: "GET",
|
||||||
credentials: "include",
|
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");
|
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"));
|
const nametag = profile.appendChild(document.createElement("div"));
|
||||||
|
|||||||
Reference in New Issue
Block a user