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:
parent
90cc0edcf4
commit
c725d6e85d
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user