File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ ENV REACT_APP_API_BASE_URL=https://apim-gw.ecstag.opensource.lk/nominations/0.9
11
11
ENV REACT_APP_PDF_GENARATION_SERVICE_URL=https://apim-gw.ecstag.opensource.lk/nominations/0.9
12
12
ENV REACT_APP_AUTH_BASE_URL=https://nominations.ecstag.opensource.lk
13
13
ENV REACT_APP_NOMINATION_URL=https://nominations.ecstag.opensource.lk
14
+ ENV REACT_APP_CONFIG_API_URL=http://220.247.204.21:3001
14
15
15
16
RUN npm run build
16
17
RUN rm /etc/localtime
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ var CONFIG_API_URL = 'http://220.247.204.21:3001';
6
6
var AUTH_BASE_URL = 'http://localhost:3001/' ;
7
7
// var CONFIG_MANAGEMENT_SERVICE_URL = 'http://localhost:3001/';
8
8
9
+
9
10
if ( process . env . NODE_ENV === 'production' ) {
10
11
API_BASE_URL = process . env . REACT_APP_API_BASE_URL ;
11
12
PDF_GENARATION_SERVICE_URL = process . env . REACT_APP_PDF_GENARATION_SERVICE_URL ;
You can’t perform that action at this time.
0 commit comments