diff --git a/.env b/.env index 27c119b..c305002 100644 --- a/.env +++ b/.env @@ -1,5 +1,2 @@ ####### USERS ######## USERS_SUPER=["akalinina","vchikalkin"] - -####### URLS ######## -NEXT_PUBLIC_URL_CRM_GRAPHQL_PROXY=/api/crmgraphql diff --git a/next.config.js b/next.config.js index e0dbc5f..2550335 100644 --- a/next.config.js +++ b/next.config.js @@ -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': {