graphql: fix apollo http errors on client
This commit is contained in:
parent
ed5f096afa
commit
72e0cbb0f3
3
.env
3
.env
@ -1,5 +1,2 @@
|
||||
####### USERS ########
|
||||
USERS_SUPER=["akalinina","vchikalkin"]
|
||||
|
||||
####### URLS ########
|
||||
NEXT_PUBLIC_URL_CRM_GRAPHQL_PROXY=/api/crmgraphql
|
||||
|
||||
@ -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': {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user