fix graphql url for proxy

This commit is contained in:
Chika 2020-12-26 16:11:35 +03:00
parent e777ae4f7a
commit 3ebb6e3e89

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('/proxy', CRM_PROXY_URL),
uri: getServerUrl('/proxy', CRM_PROXY_URL, '/'),
cache: new InMemoryCache(),
});