From b7016133e95e411d23f2dd447bf37badd87d14b1 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 9 Jan 2024 21:41:27 -0600 Subject: [PATCH] these actually need to point to prod in the repo.... --- layouts/shortcodes/health-form.html | 4 ++-- layouts/shortcodes/mt-church-form.html | 4 ++-- layouts/shortcodes/mt-form.html | 4 ++-- layouts/shortcodes/mt-parent-form.html | 4 ++-- layouts/shortcodes/mt-teacher-form.html | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/layouts/shortcodes/health-form.html b/layouts/shortcodes/health-form.html index 5382cc5..4fee92c 100644 --- a/layouts/shortcodes/health-form.html +++ b/layouts/shortcodes/health-form.html @@ -77,8 +77,8 @@ // For use in dev // 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 = "https://api.tfcconnection.org/health-form"; + /* let base = "http://localhost:4242/health-form"; */ fetch(base, { method: "POST", body: data diff --git a/layouts/shortcodes/mt-church-form.html b/layouts/shortcodes/mt-church-form.html index b1b0a67..be4281f 100644 --- a/layouts/shortcodes/mt-church-form.html +++ b/layouts/shortcodes/mt-church-form.html @@ -10,8 +10,8 @@ // For use in dev // Can now start using this in production IF, // I get the server running on the server - /* let base = "https://api.tfcconnection.org/church-form"; */ - let base = "http://localhost:4242/church-form"; + let base = "https://api.tfcconnection.org/church-form"; + /* let base = "http://localhost:4242/church-form"; */ fetch(base, { method: "POST", body: data diff --git a/layouts/shortcodes/mt-form.html b/layouts/shortcodes/mt-form.html index be49646..d9b9808 100644 --- a/layouts/shortcodes/mt-form.html +++ b/layouts/shortcodes/mt-form.html @@ -12,8 +12,8 @@ const age = calculate_age(birthdate); data.append("age", age); - /* let base = "https://api.tfcconnection.org/mt-form"; */ - let base = "http://localhost:4242/mt-form"; + let base = "https://api.tfcconnection.org/mt-form"; + /* let base = "http://localhost:4242/mt-form"; */ fetch(base, { method: "POST", diff --git a/layouts/shortcodes/mt-parent-form.html b/layouts/shortcodes/mt-parent-form.html index 14178d9..c2a5ab9 100644 --- a/layouts/shortcodes/mt-parent-form.html +++ b/layouts/shortcodes/mt-parent-form.html @@ -9,8 +9,8 @@ // For use in dev // Can now start using this in production IF, // I get the server running on the server - /* let base = "https://api.tfcconnection.org/parent-form"; */ - let base = "http://localhost:4242/parent-form"; + let base = "https://api.tfcconnection.org/parent-form"; + /* let base = "http://localhost:4242/parent-form"; */ fetch(base, { method: "POST", body: data diff --git a/layouts/shortcodes/mt-teacher-form.html b/layouts/shortcodes/mt-teacher-form.html index b6431bc..e04eb27 100644 --- a/layouts/shortcodes/mt-teacher-form.html +++ b/layouts/shortcodes/mt-teacher-form.html @@ -9,8 +9,8 @@ // For use in dev // Can now start using this in production IF, // I get the server running on the server - /* let base = "https://api.tfcconnection.org/teacher-form"; */ - let base = "http://localhost:4242/teacher-form"; + let base = "https://api.tfcconnection.org/teacher-form"; + /* let base = "http://localhost:4242/teacher-form"; */ fetch(base, { method: "POST", body: data