web: fetch some content

This commit is contained in:
ponas committed 2024-05-07 04:05:40 +02:00
1 parent 3fdb4b92a2
commit 5b9c484f14
6 files changed
+394 -12

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import { ApolloClient, HttpLink, InMemoryCache } from "@apollo/client";
import { registerApolloClient } from "@apollo/experimental-nextjs-app-support/rsc";
export const { getClient } = registerApolloClient(() => {
return new ApolloClient({
cache: new InMemoryCache(),
link: new HttpLink({
uri: "https://cms.neuf.kult.444.no/api/graphql/",
}),
});
});