diff --git a/static/index.js b/static/index.js index 8ebfda5..6266caf 100644 --- a/static/index.js +++ b/static/index.js @@ -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",