diff --git a/src/global-methods.js b/src/global-methods.js index 474fb279..99820301 100644 --- a/src/global-methods.js +++ b/src/global-methods.js @@ -63,7 +63,7 @@ export default { return new Promise((resolve, reject) => { const store = useMainStore(); const currentPageName = this.getPageNameByQueryString().toLowerCase(); - let cfDistroUrl = applicationConfig.CONSUMER_CF_DISTRO; + const cfDistroUrl = applicationConfig.CONSUMER_CF_DISTRO; const payloadAndAnalyticsData = { ...payload, AppName: 'ISS' }; const sessionKey = getSessionKeyValue(); const headers = { @@ -75,10 +75,6 @@ export default { [headerKeys.SESSION_SEQUENCE_NUMBER]: sessionKey }; - console.log(`Making API call to ${endpoint} with method ${method}`); - if (endpoint.toLowerCase().includes(endpoints.RegisterClaim.url.toLowerCase())) - cfDistroUrl = "https://localhost:7249/"; - const url = cfDistroUrl + endpoint; axios({ method,