diff --git a/src/lib/utils.js b/src/lib/utils.js index 65eb395..f6eb7de 100644 --- a/src/lib/utils.js +++ b/src/lib/utils.js @@ -8,7 +8,7 @@ export function cn(...inputs) { export const onSubmit = async (data,setTeamCode,setModalMessage,setShowModal,setIsError) => { try { - const response = await fetch('http://localhost:3001/submit-form', { + const response = await fetch('https://haick24-reg-form.onrender.com/submit-form', { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -38,4 +38,4 @@ export const onSubmit = async (data,setTeamCode,setModalMessage,setShowModal,set } catch (error) { setIsError(true) } -}; \ No newline at end of file +};