Fix api issues and production build

This commit is contained in:
Alan Cell
2020-11-07 12:25:12 +01:00
parent e74ca00902
commit e31bf5a4b9
8 changed files with 58 additions and 56 deletions

View File

@@ -10,7 +10,7 @@ class IceApiClient {
get(endpoint) {
if (this.legacyApiWrapper) {
const url = `${this.clientBaseUrl}rest.php?token=${this.token}&method=get&url=/${endpoint}`;
const url = `${this.clientBaseUrl}api/index.php?token=${this.token}&method=get&url=/${endpoint}`;
return axios.get(url);
}