From 581410138c4b3a031a0c1deb7f65764320a98de4 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Thu, 2 Mar 2023 13:08:00 +0300 Subject: [PATCH] move apollo config to /config/apollo.js --- apps/web/apollo/client.js | 2 +- apps/web/{apollo/config.js => config/apollo.js} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename apps/web/{apollo/config.js => config/apollo.js} (96%) diff --git a/apps/web/apollo/client.js b/apps/web/apollo/client.js index 4703bb7..da62f63 100644 --- a/apps/web/apollo/client.js +++ b/apps/web/apollo/client.js @@ -1,4 +1,4 @@ -import { cache, link } from './config'; +import { cache, link } from '@/config/apollo'; import { ApolloClient } from '@apollo/client'; import { isServer } from 'tools/common'; diff --git a/apps/web/apollo/config.js b/apps/web/config/apollo.js similarity index 96% rename from apps/web/apollo/config.js rename to apps/web/config/apollo.js index 9a94331..a8565ee 100644 --- a/apps/web/apollo/config.js +++ b/apps/web/config/apollo.js @@ -1,4 +1,4 @@ -import getUrls from '@/config/urls'; +import getUrls from './urls'; import { ApolloLink, HttpLink, InMemoryCache } from '@apollo/client'; const { URL_CRM_GRAPHQL } = getUrls();