mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-06 07:54:21 +01:00
Use currently deployed netlify graphql functions
This commit is contained in:
@@ -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()
|
||||
});
|
||||
|
||||
|
||||
@@ -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()
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user