fix url
This commit is contained in:
parent
353bd175b0
commit
cde8ef476c
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ async function main(e) {
|
|||
e.preventDefault();
|
||||
if (!input.value) return;
|
||||
|
||||
let msg = await fetch("http://localhost:3007/", {
|
||||
let msg = await fetch("/", {
|
||||
"method": "POST",
|
||||
"headers": {
|
||||
"content-type": "application/json",
|
||||
|
|
Loading…
Reference in a new issue