all forms point to the production api
This commit is contained in:
parent
3f8b9cb5d8
commit
f9bcae157f
|
@ -72,8 +72,8 @@
|
||||||
// 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
|
||||||
/* let base = "https://api.tfcconnection.org/health-form"; */
|
let base = "https://api.tfcconnection.org/health-form";
|
||||||
let base = "http://localhost:4242/health-form";
|
/* let base = "http://localhost:4242/health-form"; */
|
||||||
fetch(base, {
|
fetch(base, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: data
|
body: data
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
// 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
|
||||||
/* let base = "https://api.tfcconnection.org/health-form"; */
|
let base = "https://api.tfcconnection.org/health-form";
|
||||||
let base = "http://localhost:4242/church-form";
|
/* let base = "http://localhost:4242/church-form"; */
|
||||||
fetch(base, {
|
fetch(base, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: data
|
body: data
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
// 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
|
||||||
/* let base = "https://api.tfcconnection.org/health-form"; */
|
let base = "https://api.tfcconnection.org/health-form";
|
||||||
let base = "http://localhost:4242/parent-form";
|
/* let base = "http://localhost:4242/parent-form"; */
|
||||||
fetch(base, {
|
fetch(base, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: data
|
body: data
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
// 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
|
||||||
/* let base = "https://api.tfcconnection.org/health-form"; */
|
let base = "https://api.tfcconnection.org/health-form";
|
||||||
let base = "http://localhost:4242/teacher-form";
|
/* let base = "http://localhost:4242/teacher-form"; */
|
||||||
fetch(base, {
|
fetch(base, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: data
|
body: data
|
||||||
|
|
Loading…
Reference in a new issue