Update API endpoints to production URLs

Changed the API endpoints in contact and verify email forms from localhost URLs to the production server. This ensures that the forms submit data to the correct, live endpoints.
This commit is contained in:
Teriuihi 2024-08-05 00:28:27 +02:00
parent 90cc0edcf4
commit c725d6e85d
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ const ContactForm = () => {
const handleSubmit = async (e: FormikValues) => {
try {
const response = await fetch('http://localhost:8002/api/contact/submitContactForm', {
const response = await fetch('https://forms.alttd.com/api/contact/submitContactForm', {
method: 'POST',
headers: {
'Content-Type': 'application/json',

View File

@ -42,7 +42,7 @@ const VerifyMail: FC = () => {
eMail: email
}
console.log(verificationData);
fetch('http://localhost:8002/api/verify_email/form', {
fetch('https://forms.alttd.com/api/verify_email/form', {
method: 'POST',
headers: {
'Content-Type': 'application/json',