From 16439be1b7258b59c0cf41858abade3c86c80380 Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Sun, 30 Jan 2022 18:26:25 +0100 Subject: [PATCH] Use currently deployed netlify graphql functions --- src/index.tsx | 3 ++- src/utils/Wrapper.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index b8848cb..7822d07 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -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() }); diff --git a/src/utils/Wrapper.tsx b/src/utils/Wrapper.tsx index 8170e69..6b0402c 100644 --- a/src/utils/Wrapper.tsx +++ b/src/utils/Wrapper.tsx @@ -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() });