From c22a1bb82936c057ff2af593d40872fc7388c30c Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 12 Dec 2023 17:32:14 -0600 Subject: [PATCH] making the health form point to the real server not a local dev --- layouts/shortcodes/health-form.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/shortcodes/health-form.html b/layouts/shortcodes/health-form.html index ee18f7d..0ce2abe 100644 --- a/layouts/shortcodes/health-form.html +++ b/layouts/shortcodes/health-form.html @@ -69,7 +69,9 @@ // For use in dev // Can now start using this in production IF, // 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", body: data }).then((res) => {