moving to production api

This commit is contained in:
Chris Cochrun 2024-01-08 10:53:19 -06:00
parent f00ed3a04c
commit 0a04063298
2 changed files with 4 additions and 4 deletions

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