diff --git a/package.json b/package.json index a962ee75..45c110ed 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,10 @@ "private": true, "license": "MIT", "scripts": { - "build": "astro telemetry disable && astro build", + "build": "astro build", "check": "npm run lint && npm run typecheck", "codegen": "graphql-codegen", - "deploy": "graphql-codegen && npm run typecheck && astro telemetry disable && astro build && vercel", + "deploy": "graphql-codegen && npm run typecheck && astro build && vercel", "dev": "astro dev", "ffix": "npm run fix && npm run format", "fix": "npm run lint:code:fix && npm run lint:styles:fix", @@ -22,12 +22,12 @@ "pre-push": "", "pre-push-old": "npm run typecheck", "prepare": "husky install", - "preview": "astro telemetry disable && astro preview", + "preview": "astro preview", "server": "node server/server.mjs", - "start": "astro telemetry disable && astro dev", - "typecheck": "astro telemetry disable && astro check && tsc --noEmit", + "start": "astro dev", + "typecheck": "astro check && tsc --noEmit", "typecheck:watch": "tsc --noEmit --watch", - "vercel-build": "astro telemetry disable && astro build" + "vercel-build": "astro build" }, "dependencies": { "mailgun.js": "^8.0.2" diff --git a/src/graphql/publicGraphQLClient.ts b/src/graphql/publicGraphQLClient.ts index a7073d1c..657ea6d9 100644 --- a/src/graphql/publicGraphQLClient.ts +++ b/src/graphql/publicGraphQLClient.ts @@ -4,7 +4,7 @@ import { isDev, apiBaseUrl } from '../utils/config' import { initClient } from './client' import { cache } from './cache' -const exchanges: Exchange[] = [dedupExchange, fetchExchange, cache] +const exchanges: Exchange[] = [dedupExchange, fetchExchange] //, cache] if (isDev) { exchanges.unshift(devtoolsExchange)