chore: change path to GQL-API

This commit is contained in:
2020-01-17 12:44:19 +01:00
parent 4ba66cb103
commit 1e78b86a8a
3 changed files with 3 additions and 11 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ const { includeCredentials } = require('./middleware');
import { onError } from 'apollo-link-error';
import { default as webAuth} from '../auth';
const defaultGraphUri = '/graph/';
const defaultGraphUri = '/query/';
const httpLink = new HttpLink({ uri: defaultGraphUri, fetch: includeCredentials, credentials: 'same-origin' });
const errorLink = onError(({ graphQLErrors, networkError, operation, forward }) => {
if (graphQLErrors) {