Making the tfc-api in lisp use ningle rather than raw hunchentoot

This commit is contained in:
Chris Cochrun 2024-09-19 14:37:27 -05:00
parent 038b813a0b
commit 228626b65d
3 changed files with 66 additions and 62 deletions

View file

@ -78,7 +78,7 @@
// Can now start using this in production IF,
// I get the server running on the server
/* let base = "https://api.tfcconnection.org/health-form"; */
let base = "http://localhost:4242/health-form";
let base = "http://localhost:5000/health-form";
fetch(base, {
method: "POST",
body: data
@ -217,7 +217,7 @@
<div id="health-form" class="form text-lg w-full">
<form id='form'
hx-post="https://tfcconnection.org/api/health-form"
hx-post="http://localhost:5000/health-form"
hx-encoding="multipart/form-data"
autocomplete="on"
method="post"