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, "private": true,
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build": "astro telemetry disable && astro build", "build": "astro build",
"check": "npm run lint && npm run typecheck", "check": "npm run lint && npm run typecheck",
"codegen": "graphql-codegen", "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", "dev": "astro dev",
"ffix": "npm run fix && npm run format", "ffix": "npm run fix && npm run format",
"fix": "npm run lint:code:fix && npm run lint:styles:fix", "fix": "npm run lint:code:fix && npm run lint:styles:fix",
@ -22,12 +22,12 @@
"pre-push": "", "pre-push": "",
"pre-push-old": "npm run typecheck", "pre-push-old": "npm run typecheck",
"prepare": "husky install", "prepare": "husky install",
"preview": "astro telemetry disable && astro preview", "preview": "astro preview",
"server": "node server/server.mjs", "server": "node server/server.mjs",
"start": "astro telemetry disable && astro dev", "start": "astro dev",
"typecheck": "astro telemetry disable && astro check && tsc --noEmit", "typecheck": "astro check && tsc --noEmit",
"typecheck:watch": "tsc --noEmit --watch", "typecheck:watch": "tsc --noEmit --watch",
"vercel-build": "astro telemetry disable && astro build" "vercel-build": "astro build"
}, },
"dependencies": { "dependencies": {
"mailgun.js": "^8.0.2" "mailgun.js": "^8.0.2"

View File

@ -4,7 +4,7 @@ import { isDev, apiBaseUrl } from '../utils/config'
import { initClient } from './client' import { initClient } from './client'
import { cache } from './cache' import { cache } from './cache'
const exchanges: Exchange[] = [dedupExchange, fetchExchange, cache] const exchanges: Exchange[] = [dedupExchange, fetchExchange] //, cache]
if (isDev) { if (isDev) {
exchanges.unshift(devtoolsExchange) exchanges.unshift(devtoolsExchange)