fix: remove urql cache
This commit is contained in:
@@ -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],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user