lavoce #2

Merged
yogiedigital merged 118 commits from lavoce into main 2025-10-20 04:06:02 +00:00
Showing only changes of commit 42fff789e3 - Show all commits

View File

@@ -2,7 +2,7 @@ import axios from 'axios';
const RegistrationRequest = async ({ method, prefix, params, headers = {} }) => { const RegistrationRequest = async ({ method, prefix, params, headers = {} }) => {
const baseURL = `${import.meta.env.VITE_API_SERVER}`; const baseURL = `${import.meta.env.VITE_API_SERVER}`;
try { try {
const response = await axios({ const response = await axios({
method: method, method: method,
@@ -12,7 +12,7 @@ const RegistrationRequest = async ({ method, prefix, params, headers = {} }) =>
'Accept-Language': 'en_US', 'Accept-Language': 'en_US',
...headers, ...headers,
}, },
withCredentials: true, // withCredentials: true,
}); });
return response.data || {}; return response.data || {};
@@ -22,4 +22,4 @@ const RegistrationRequest = async ({ method, prefix, params, headers = {} }) =>
} }
}; };
export default RegistrationRequest; export default RegistrationRequest;