diff --git a/client/Staging.Dockerfile b/client/Staging.Dockerfile index 1542be3..7f1dd09 100644 --- a/client/Staging.Dockerfile +++ b/client/Staging.Dockerfile @@ -11,7 +11,7 @@ ENV REACT_APP_API_BASE_URL=https://apim-gw.ecstag.opensource.lk/nominations/0.9 ENV REACT_APP_PDF_GENARATION_SERVICE_URL=https://apim-gw.ecstag.opensource.lk/nominations/0.9 ENV REACT_APP_AUTH_BASE_URL=https://nominations.ecstag.opensource.lk ENV REACT_APP_NOMINATION_URL=https://nominations.ecstag.opensource.lk -ENV REACT_APP_CONFIG_API_URL=http://220.247.204.21:3001 +ENV REACT_APP_CONFIG_API_URL=https://lsfconfig.elections.gov.lk RUN npm run build RUN rm /etc/localtime diff --git a/client/src/config.js b/client/src/config.js index 51cb718..8bc0277 100644 --- a/client/src/config.js +++ b/client/src/config.js @@ -2,7 +2,7 @@ var API_BASE_URL = 'http://localhost:8280/nominations/0.9'; // var PDF_GENARATION_SERVICE_URL = 'http://localhost:5000/'; var PDF_GENARATION_SERVICE_URL = 'http://localhost:8280/nominations/0.9'; // var PDF_GENARATION_SERVICE_URL = 'https://id.ecstag.opensource.lk' -var CONFIG_API_URL = 'http://220.247.204.21:3001'; +var CONFIG_API_URL = 'https://lsfconfig.elections.gov.lk'; var AUTH_BASE_URL = 'http://localhost:3001/'; // var CONFIG_MANAGEMENT_SERVICE_URL = 'http://localhost:3001/';