Skip to content

Commit 5f21dcf

Browse files
committed
🤕
1 parent 67073ad commit 5f21dcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
status.textContent = "Sending...";
3838

3939
const res = await fetch(form.action, {
40-
method: form.action,
40+
method: form.method,
4141
headers: { "Content-Type": "application/json" },
4242
body: JSON.stringify({
4343
name: form.name.value,

0 commit comments

Comments
 (0)