Skip to content

Commit 2d99bbb

Browse files
committedJun 21, 2019
Optimized Dockerfile for react app
1 parent d775309 commit 2d99bbb

File tree

1 file changed

+1
-2
lines changed
  • polling-app-client/src/constants

1 file changed

+1
-2
lines changed
 

‎polling-app-client/src/constants/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
export const API_BASE_URL = 'http://localhost:8080/api';
2-
//export const API_BASE_URL = '/api';
1+
export const API_BASE_URL = process.env.REACT_APP_API_BASE_URL || 'http://localhost:8080/api';
32
export const ACCESS_TOKEN = 'accessToken';
43

54
export const POLL_LIST_SIZE = 30;

0 commit comments

Comments
 (0)