removed temp code
This commit is contained in:
parent
a42600f24c
commit
57bd4dbaf7
1 changed files with 1 additions and 4 deletions
|
|
@ -7,10 +7,7 @@ import { GaCategories, GaActions, GaLabels } from "@/constants/analytics";
|
|||
export default {
|
||||
callHttpClient({ method, endpoint, payload, logApiCall = true }) {
|
||||
return new Promise((resolve, reject) => {
|
||||
let cfDistroUrl = applicationConfig.CONSUMER_CF_DISTRO;
|
||||
if(endpoint.includes("analytics")){
|
||||
cfDistroUrl = 'https://localhost:44324';
|
||||
}
|
||||
const cfDistroUrl = applicationConfig.CONSUMER_CF_DISTRO;
|
||||
const payloadAndAnalyticsData = Object.assign({}, payload, { AppName: "FixMyGlass" });
|
||||
|
||||
axios({ method: method, url: cfDistroUrl + endpoint, data: payloadAndAnalyticsData, crossDomain: true, responseType: {} })
|
||||
|
|
|
|||
Loading…
Reference in a new issue