updates to the ui and email system

This commit is contained in:
Chris Cochrun 2024-11-08 13:05:14 -06:00
parent 80c8a3e8a8
commit 612451cfc9
3 changed files with 12 additions and 9 deletions

View file

@ -12,7 +12,7 @@
const age = calculate_age(birthdate);
data.append("age", age);
let base = "https://api.tfcconnection.org/mt-form";
let base = "/api/mt-form";
/* let base = "http://localhost:4242/mt-form"; */
fetch(base, {
@ -78,7 +78,7 @@
<div id="mt-form" class="form text-lg w-full">
<form id='form'
hx-post="http://localhost:4242/mt-form"
hx-post="/api/mt-form"
hx-encoding="multipart/form-data"
autocomplete="on"
method="post"