Skip to content

Commit

Permalink
remove proxy wrapping sanity client
Browse files Browse the repository at this point in the history
  • Loading branch information
martinhj committed Jan 23, 2024
1 parent 48f971e commit d24a499
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions frontend/groq/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,10 @@ const proxyHandler = {
};

// GROQ client proxy that includes CDN and memory caching
export const clientGROQ = new Proxy(
createClient({
...clientOptions,
useCdn: Boolean(inProduction),
}),
proxyHandler,
);
export const clientGROQ = createClient({
...clientOptions,
useCdn: Boolean(inProduction),
});

export const clientWithToken = createClient({
...clientOptions,
Expand Down

0 comments on commit d24a499

Please sign in to comment.