From b5d2244035a114c9085dbba6089de010dac7bbe5 Mon Sep 17 00:00:00 2001 From: adjoly Date: Thu, 23 Oct 2025 20:09:33 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=94=A8=E3=80=8D=20fix:=20fixed?= =?UTF-8?q?=20the=20profile=20page=20with=20the=20shitty=20profile=20pictu?= =?UTF-8?q?re?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/front/static/ts/views/Profile.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/front/static/ts/views/Profile.ts b/src/front/static/ts/views/Profile.ts index 4374d70..6dce472 100644 --- a/src/front/static/ts/views/Profile.ts +++ b/src/front/static/ts/views/Profile.ts @@ -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"));