switching forms back to dev mode in the repo
This commit is contained in:
parent
c0889ff13d
commit
c669c12311
|
@ -72,8 +72,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
|
||||
|
|
|
@ -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/health-form";
|
||||
/* let base = "http://localhost:4242/church-form"; */
|
||||
/* let base = "https://api.tfcconnection.org/health-form"; */
|
||||
let base = "http://localhost:4242/church-form";
|
||||
fetch(base, {
|
||||
method: "POST",
|
||||
body: data
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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/health-form";
|
||||
/* let base = "http://localhost:4242/parent-form"; */
|
||||
/* let base = "https://api.tfcconnection.org/health-form"; */
|
||||
let base = "http://localhost:4242/parent-form";
|
||||
fetch(base, {
|
||||
method: "POST",
|
||||
body: data
|
||||
|
|
|
@ -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/health-form";
|
||||
/* let base = "http://localhost:4242/teacher-form"; */
|
||||
/* let base = "https://api.tfcconnection.org/health-form"; */
|
||||
let base = "http://localhost:4242/teacher-form";
|
||||
fetch(base, {
|
||||
method: "POST",
|
||||
body: data
|
||||
|
|
|
@ -311,11 +311,12 @@ with the image attached to us"
|
|||
|
||||
(cl-smtp:send-email
|
||||
"mail.tfcconnection.org"
|
||||
"no-reply@mail.tfcconnection.org"
|
||||
"TFC-ADMIN <no-reply@mail.tfcconnection.org>"
|
||||
"chris@cochrun.xyz"
|
||||
(format nil "~a ~a filled out a Mission Trip Form!" "Chris" "Ccohrun")
|
||||
"hi"
|
||||
:html-message
|
||||
;; (with-html-string (:h1 "hi"))
|
||||
(let ((form '(("age" . "150")
|
||||
("registration" . "later")
|
||||
("final-agreement" . "yes")
|
||||
|
|
Loading…
Reference in a new issue