diff --git a/src/components/Global/RegisterRequest.jsx b/src/components/Global/RegisterRequest.jsx index 4bd767c..46deb42 100644 --- a/src/components/Global/RegisterRequest.jsx +++ b/src/components/Global/RegisterRequest.jsx @@ -2,7 +2,7 @@ import axios from 'axios'; const RegistrationRequest = async ({ method, prefix, params, headers = {} }) => { const baseURL = `${import.meta.env.VITE_API_SERVER}`; - + try { const response = await axios({ method: method, @@ -12,7 +12,7 @@ const RegistrationRequest = async ({ method, prefix, params, headers = {} }) => 'Accept-Language': 'en_US', ...headers, }, - withCredentials: true, + // withCredentials: true, }); return response.data || {}; @@ -22,4 +22,4 @@ const RegistrationRequest = async ({ method, prefix, params, headers = {} }) => } }; -export default RegistrationRequest; \ No newline at end of file +export default RegistrationRequest;