Update global-methods.js
This commit is contained in:
parent
ac687e5545
commit
80044b34c7
1 changed files with 1 additions and 5 deletions
|
|
@ -22,13 +22,9 @@ export default {
|
||||||
const headers = {
|
const headers = {
|
||||||
[headerKeys.EXPERIMENT]: JSON.stringify(store.getters.experimentSettings),
|
[headerKeys.EXPERIMENT]: JSON.stringify(store.getters.experimentSettings),
|
||||||
};
|
};
|
||||||
const localhostserviceapi = "https://localhost:44317";
|
|
||||||
axios({
|
axios({
|
||||||
method: method,
|
method: method,
|
||||||
url:
|
url: cfDistroUrl + endpoint,
|
||||||
(endpoint == "/schedule/api/v1/schedule/mobile-time-slots"
|
|
||||||
? localhostserviceapi
|
|
||||||
: cfDistroUrl) + endpoint,
|
|
||||||
data: payloadAndAnalyticsData,
|
data: payloadAndAnalyticsData,
|
||||||
crossDomain: true,
|
crossDomain: true,
|
||||||
responseType: {},
|
responseType: {},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue