revert /proxy to url

This commit is contained in:
Chika 2020-12-22 18:50:37 +03:00
parent 0b94ad000d
commit f1191811ae
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@ export default class {
axios
.post<IGetCalculationResponse>(
getServerUrl(
'/proxy',
CORE_PROXY_URL,
'/api',
'/v1',

View File

@ -3,6 +3,6 @@ import { getServerUrl } from 'client/common/urls';
import { CRM_PROXY_URL } from 'core/constants/urls';
export default new ApolloClient({
uri: getServerUrl(CRM_PROXY_URL),
uri: getServerUrl('/proxy', CRM_PROXY_URL),
cache: new InMemoryCache(),
});