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:
parent
c725d6e85d
commit
2eef14ba2e
|
|
@ -55,7 +55,7 @@ const ContactForm = () => {
|
||||||
|
|
||||||
const handleSubmit = async (e: FormikValues) => {
|
const handleSubmit = async (e: FormikValues) => {
|
||||||
try {
|
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',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ const VerifyMail: FC = () => {
|
||||||
eMail: email
|
eMail: email
|
||||||
}
|
}
|
||||||
console.log(verificationData);
|
console.log(verificationData);
|
||||||
fetch('https://forms.alttd.com/api/verify_email/form', {
|
fetch('https://forms-backend.alttd.com/api/verify_email/form', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user