Use currently deployed netlify graphql functions

This commit is contained in:
Michael Bumann
2022-01-30 18:26:25 +01:00
parent 43300c9baa
commit 16439be1b7
2 changed files with 4 additions and 2 deletions

View File

@@ -11,7 +11,8 @@ import App from './App';
import reportWebVitals from './reportWebVitals';
const client = new ApolloClient({
uri: 'https://xenodochial-goldstine-d09942.netlify.app/.netlify/functions/graphql',
//uri: 'https://xenodochial-goldstine-d09942.netlify.app/.netlify/functions/graphql',
uri: '/.netlify/functions/graphql',
cache: new InMemoryCache()
});

View File

@@ -15,7 +15,8 @@ import {
} from "@apollo/client";
const client = new ApolloClient({
uri: 'https://deploy-preview-2--makers-bolt-fun.netlify.app/.netlify/functions/graphql',
//uri: 'https://deploy-preview-2--makers-bolt-fun.netlify.app/.netlify/functions/graphql',
uri: '/.netlify/functions/graphql',
cache: new InMemoryCache()
});