Update global-methods.js

This commit is contained in:
hiteshkumar87 2024-02-05 20:52:05 +05:30
parent ac687e5545
commit 80044b34c7

View file

@ -22,13 +22,9 @@ export default {
const headers = {
[headerKeys.EXPERIMENT]: JSON.stringify(store.getters.experimentSettings),
};
const localhostserviceapi = "https://localhost:44317";
axios({
method: method,
url:
(endpoint == "/schedule/api/v1/schedule/mobile-time-slots"
? localhostserviceapi
: cfDistroUrl) + endpoint,
url: cfDistroUrl + endpoint,
data: payloadAndAnalyticsData,
crossDomain: true,
responseType: {},