Commit 249be92e authored by muchamad.ardiansyah's avatar muchamad.ardiansyah

switch to debug

parent 489898e5
// contents of .env // contents of .env
REACT_APP_URL_MAIN_BE=https://tia.eksad.com/tia-reporting-staging REACT_APP_URL_MAIN_BE=https://tia.eksad.com/tia-reporting-debug
REACT_APP_URL_MAIN_FE=/web-staging REACT_APP_URL_MAIN_FE=/web-staging
GENERATE_SOURCEMAP=false
\ No newline at end of file
...@@ -53,12 +53,12 @@ ...@@ -53,12 +53,12 @@
}, },
"scripts": { "scripts": {
"start": "react-scripts start", "start": "react-scripts start",
"build": "react-scripts --max_old_space_size=8192 build", "build": "react-scripts --max_old_space_size=4096 build",
"build_dev": "copy .env_dev .env && react-scripts --max_old_space_size=8192 build", "build_dev": "copy .env_dev .env && react-scripts --max_old_space_size=4096 build",
"build_staging": "copy .env_staging .env && react-scripts --max_old_space_size=8192 build", "build_staging": "copy .env_staging .env && react-scripts --max_old_space_size=4096 build",
"build_prod": "copy .env_prod .env && react-scripts --max_old_space_size=8192 build", "build_prod": "copy .env_prod .env && react-scripts --max_old_space_size=8192 build",
"build_dev_linux": "cp .env_dev .env && react-scripts --max_old_space_size=8192 build", "build_dev_linux": "cp .env_dev .env && react-scripts --max_old_space_size=4096 build",
"build_staging_linux": "cp .env_staging .env && react-scripts --max_old_space_size=8192 build", "build_staging_linux": "cp .env_staging .env && react-scripts --max_old_space_size=4096 build",
"build_prod_linux": "cp .env_prod .env && react-scripts --max_old_space_size=8192 build", "build_prod_linux": "cp .env_prod .env && react-scripts --max_old_space_size=8192 build",
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject", "eject": "react-scripts eject",
......
...@@ -5,7 +5,7 @@ const Constant = { ...@@ -5,7 +5,7 @@ const Constant = {
EMAIL: 'TOKEN', EMAIL: 'TOKEN',
PASSWORD: 'PASSWORD', PASSWORD: 'PASSWORD',
URL_BE_DEV: '${process.env.REACT_APP_URL_MAIN_BE}', URL_BE_DEV: '${process.env.REACT_APP_URL_MAIN_BE}',
URL_BE_STAGING: 'https://tia.eksad.com/tia-reporting-staging', URL_BE_STAGING: 'https://tia.eksad.com/tia-reporting-debug',
URL_BE_DEMO: 'https://tia.eksad.com/tia-reporting-demo', URL_BE_DEMO: 'https://tia.eksad.com/tia-reporting-demo',
URL_BE_PROD: 'https://dashboard.triputra-group.com/tia-reporting', URL_BE_PROD: 'https://dashboard.triputra-group.com/tia-reporting',
URL_FE_DEV: 'https://tia.eksad.com/tia-web-dev', URL_FE_DEV: 'https://tia.eksad.com/tia-web-dev',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment