change url constants

This commit is contained in:
Chika 2020-11-23 15:49:20 +03:00
parent 35df12f428
commit 6dd0d69ecf

View File

@ -1,4 +1,4 @@
export const SERVER_PORT = process.env.NODE_ENV === 'development' ? 3001 : 80;
export const SERVER_PORT = 3001;
export const CRM_URL =
process.env.REACT_APP_CRM === 'dev'
@ -9,5 +9,5 @@ export const CRM_PROXY_URL = '/crmgraphql';
export const CORE_URL =
process.env.NODE_ENV === 'development'
? 'http://localhost:5000'
: 'http://10.5.0.5:5000';
: 'http://calccore:5000';
export const CORE_PROXY_URL = '/core';