fix: remove urql cache
This commit is contained in:
parent
cdb92eedf9
commit
2e6886ff85
|
|
@ -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())
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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],
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue