Update API endpoints in contact and verify email forms

This commit changes the API endpoints in contact.tsx and verify_mail.tsx to use the new 'forms-backend.alttd.com' domain. This ensures that form submissions and email verifications are routed correctly to the updated backend.
This commit is contained in:
Teriuihi 2024-08-05 00:49:33 +02:00
parent c725d6e85d
commit 2eef14ba2e
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('https://forms.alttd.com/api/contact/submitContactForm', {
const response = await fetch('https://forms-backend.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('https://forms.alttd.com/api/verify_email/form', {
fetch('https://forms-backend.alttd.com/api/verify_email/form', {
method: 'POST',
headers: {
'Content-Type': 'application/json',