Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Nov 15, 2024
1 parent 36b6e34 commit cb1453e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
},
});
Expand Down

0 comments on commit cb1453e

Please sign in to comment.