From cb1453ecce2bd788a9511a9b700eabec0558b738 Mon Sep 17 00:00:00 2001 From: Lucemans Date: Fri, 15 Nov 2024 08:14:36 +0100 Subject: [PATCH] Update --- web/src/App.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/App.tsx b/web/src/App.tsx index 798b9d3..2fb713f 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -13,10 +13,11 @@ export const App = () => { 'Content-Type': 'application/json', }, }); + const data = await response.json(); if (response.ok) { - window.location.href = data.data; + window.location.href = data.url; } }, });