From 83a8e8c5be8a0ccf4d4e457ee328e69f5d4b841b Mon Sep 17 00:00:00 2001 From: OpenSquared Date: Sat, 27 Jun 2026 23:38:38 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20causal=20lab=20=E2=80=94=20URL=20relativ?= =?UTF-8?q?e=20/api=20(pas=20localhost:8000)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/CausalLab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/CausalLab.tsx b/frontend/src/pages/CausalLab.tsx index 7210901..9cfe3e5 100644 --- a/frontend/src/pages/CausalLab.tsx +++ b/frontend/src/pages/CausalLab.tsx @@ -64,7 +64,7 @@ interface CalibRow { // ── API ─────────────────────────────────────────────────────────────────────── const api = async (path: string, opts?: RequestInit) => { - const r = await fetch(`http://localhost:8000${path}`, opts) + const r = await fetch(path, opts) if (!r.ok) { const t = await r.text(); throw new Error(t) } return r.json() }