making the health form point to the real server not a local dev

This commit is contained in:
Chris Cochrun 2023-12-12 17:32:14 -06:00
parent c5f5f8974a
commit c22a1bb829

View file

@ -69,7 +69,9 @@
// For use in dev // For use in dev
// Can now start using this in production IF, // Can now start using this in production IF,
// I get the server running on the server // I get the server running on the server
fetch("http://localhost:4242/health-form", { let base = "https://api.tfcconnection.org/health-form";
/* let base = "http://localhost:4242/health-form"; */
fetch(base, {
method: "POST", method: "POST",
body: data body: data
}).then((res) => { }).then((res) => {