diff --git a/frontend/src/routes/chat/+page.svelte b/frontend/src/routes/chat/+page.svelte index c3e3c52..ad4f6a6 100644 --- a/frontend/src/routes/chat/+page.svelte +++ b/frontend/src/routes/chat/+page.svelte @@ -24,7 +24,7 @@ // TODO: Loading animation! - jQuery.post("https://" + window.location.hostname + "/api", { + jQuery.post("https://" + window.location.hostname + "/api/chat", { history: history, msg: msg, token: token