these actually need to point to prod in the repo....

This commit is contained in:
Chris Cochrun 2024-01-09 21:41:27 -06:00
parent 38e59d5537
commit b7016133e9
5 changed files with 10 additions and 10 deletions

View file

@ -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

View file

@ -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

View file

@ -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",

View file

@ -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

View file

@ -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