Skip to content

Commit

Permalink
no cors needed
Browse files Browse the repository at this point in the history
  • Loading branch information
TodePond committed Jan 25, 2025
1 parent f4e94cf commit 90a5d02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ <h2>Uploaded files</h2>
const response = await fetch("https://todepond-spagUpload.web.val.run", {
method: "POST",
body,
mode: "no-cors",
});
const data = await response.json();
if (data.ok) {
Expand Down

0 comments on commit 90a5d02

Please sign in to comment.