env variable added

This commit was merged in pull request #9.
This commit is contained in:
victorAnumudu
2023-06-27 16:10:51 +01:00
parent 4829c9cd7e
commit 9771375431
21 changed files with 86 additions and 41 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import getConfig from './../Config/config'
async function ContactData(callData) {
// debugger;
var site = getConfig()[0];
let response = await Axios.post(`${site.user_service_endpoint}/sitecontact`, callData);
let response = await Axios.post(`${process.env.REACT_APP_AUX_ENDPOINT}/sitecontact`, callData);
return response.data.result;
}