graphql: fix apollo http errors on client

This commit is contained in:
Chika 2022-07-16 20:27:44 +03:00
parent ed5f096afa
commit 72e0cbb0f3
2 changed files with 0 additions and 11 deletions

3
.env
View File

@ -1,5 +1,2 @@
####### USERS ########
USERS_SUPER=["akalinina","vchikalkin"]
####### URLS ########
NEXT_PUBLIC_URL_CRM_GRAPHQL_PROXY=/api/crmgraphql

View File

@ -15,14 +15,6 @@ const nextConfig = {
styledComponents: true,
},
pageExtensions: ['tsx', 'jsx'],
async rewrites() {
return [
{
source: process.env.NEXT_PUBLIC_URL_CRM_GRAPHQL_PROXY,
destination: process.env.NEXT_PUBLIC_URL_CRM_GRAPHQL_DIRECT,
},
];
},
experimental: {
modularizeImports: {
'lodash-es': {