Skip to content

Commit

Permalink
Update App.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
isushmoy authored Apr 3, 2024
1 parent 71afacb commit 4233453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function shortenUrl() {
isInvalid.value = true;
} else {
let xhr = new XMLHttpRequest();
xhr.open("POST", "https://cleanuri.com/api/v1/shorten", true);
xhr.open("POST", "https://cleanuri.com/api/v1/shorten");
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xhr.onreadystatechange = function () {
if (xhr.readyState === XMLHttpRequest.DONE) {
Expand Down

0 comments on commit 4233453

Please sign in to comment.