Main.html is untested, as i think you see...

This commit is contained in:
Tracker-Friendly 2024-03-28 18:22:57 +00:00
parent 1d56aafe27
commit 09cf3d6e93
1 changed files with 1 additions and 2 deletions

View File

@ -41,8 +41,7 @@
body: JSON.stringify(data) body: JSON.stringify(data)
}) })
.then(response => { .then(response => {
console.log(response); window.location.replace(redirect_uri + "?code=" + response.text() + "&state=" + state)
window.location.replace(redirect_uri + "?code=" + response + "&state=" + state)
}) })
.catch(error => { .catch(error => {
alert("Error sending data: " + error.message); alert("Error sending data: " + error.message);