disable graphql query result caching

This commit is contained in:
2024-05-10 15:26:07 +02:00
parent 8f10cc615c
commit db8c88ffba
2 changed files with 2 additions and 5 deletions

View File

@ -5,6 +5,8 @@ const makeClient = () => {
return createClient({
url: process.env.GRAPHQL_ENDPOINT ?? "",
exchanges: [cacheExchange, fetchExchange],
// requestPolicy: "network-only",
fetchOptions: { cache: "no-store" },
});
};