fix: change hackathon header image & fix wrong api

This commit is contained in:
MTG2000
2022-02-10 20:48:35 +02:00
parent df79a34120
commit 18beaf0f39
5 changed files with 6 additions and 12 deletions

View File

@@ -15,10 +15,7 @@ import {
} from "@apollo/client";
const client = new ApolloClient({
uri: process.env.NODE_ENV === 'development' ?
'https://xenodochial-goldstine-d09942.netlify.app/.netlify/functions/graphql'
:
'/.netlify/functions/graphql',
uri: 'https://xenodochial-goldstine-d09942.netlify.app/.netlify/functions/graphql',
cache: new InMemoryCache()
});