remove the rest/ path from endpoints

This commit is contained in:
Mohamed Karray
2018-10-01 17:22:03 +02:00
parent cd621ded81
commit b33b72aa80
20 changed files with 126 additions and 114 deletions

View File

@@ -32,7 +32,7 @@ export function createUrl(url: string) {
if (url.indexOf("/") !== 0) {
urlWithStartingSlash = "/" + urlWithStartingSlash;
}
return `${contextPath}/api/rest/v2${urlWithStartingSlash}`;
return `${contextPath}/api/v2${urlWithStartingSlash}`;
}
class ApiClient {