From cde8ef476cacf67cb5d935f18fffdc6ea0a44026 Mon Sep 17 00:00:00 2001 From: biglyderv Date: Tue, 1 Apr 2025 18:18:44 -0400 Subject: [PATCH] fix url --- static/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",