fix: remove urql cache

This commit is contained in:
DIYgod 2023-07-14 12:59:11 +01:00
parent cdb92eedf9
commit 2e6886ff85
No known key found for this signature in database
2 changed files with 2 additions and 3 deletions

View File

@ -27,7 +27,6 @@ export class NextServerResponse {
const nextData = JSON.stringify(data)
this.#headers.set("Content-Type", "application/json")
this.#headers.set("X-Time", new Date().toISOString())
return new Response(nextData, this.makeResponseOptions())
}

View File

@ -1,6 +1,6 @@
import { cacheExchange, createClient, fetchExchange } from "@urql/core"
import { createClient, fetchExchange } from "@urql/core"
export const client = createClient({
url: "https://indexer.crossbell.io/v1/graphql",
exchanges: [cacheExchange, fetchExchange],
exchanges: [fetchExchange],
})