Merge branch 'search-component' of https://github.com/Discours/discoursio-webapp into search-component

This commit is contained in:
kvakazyambra 2022-11-19 22:40:05 +03:00
commit 5b711a1ad1
2 changed files with 7 additions and 7 deletions

View File

@ -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"

View File

@ -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)