diff --git a/src/global-methods.js b/src/global-methods.js index a21dc99c..211cc83d 100644 --- a/src/global-methods.js +++ b/src/global-methods.js @@ -54,10 +54,7 @@ export default { callHttpClient({ method, endpoint, payload, logApiCall = true }) { return new Promise((resolve, reject) => { const store = useMainStore(); - let cfDistroUrl = applicationConfig.CONSUMER_CF_DISTRO; - if (endpoint.includes ("/location")) { - cfDistroUrl = "https://localhost:44370"; - } + const cfDistroUrl = applicationConfig.CONSUMER_CF_DISTRO; const payloadAndAnalyticsData = { ...payload, AppName: 'ISS' }; const sessionKey = getSessionKeyValue(); const headers = {