This commit is contained in:
2026-06-24 15:59:04 +02:00
commit 510945b733
32 changed files with 7009 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import { HttpLink } from '@apollo/client'
import { ApolloClient, InMemoryCache } from '@apollo/client'
// This is the client-side client
export const apollo = new ApolloClient({
link: new HttpLink({
uri: process.env.NODE_ENV == 'production' ? 'https://memesearch-backend.elliot-at-zuri.ch/graphql' : process.env.NEXT_PUBLIC_BACKEND_URI,
}),
cache: new InMemoryCache(),
})