From 9861a51289428936a681f919c9d7c193813f466a Mon Sep 17 00:00:00 2001 From: Nils Sirrenberg Date: Thu, 28 Mar 2024 20:38:14 +0100 Subject: [PATCH] added port for contact --- src/components/ContactForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ContactForm.tsx b/src/components/ContactForm.tsx index bb713f2..5ec920f 100644 --- a/src/components/ContactForm.tsx +++ b/src/components/ContactForm.tsx @@ -28,7 +28,7 @@ function TextControlsExample() { e.preventDefault(); setButtonText("Sending..."); try{ - let response = await fetch("http://localhost:8080/contact", { + let response = await fetch("http://141.144.249.237:8000/contact", { method: "POST", headers: {"Content-Type": "application/json;charset=utf-8"}, body: JSON.stringify(formState),