introduce docker - changed config files to work with docker
This commit is contained in:
10317
client-wiaas/package-lock.json
generated
10317
client-wiaas/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -8,6 +8,7 @@
|
||||
"bootstrap": "^4.0.0-beta.2",
|
||||
"flag-icon-css": "^2.8.0",
|
||||
"font-awesome": "^4.7.0",
|
||||
"glamor": "^2.20.40",
|
||||
"js-file-download": "^0.4.1",
|
||||
"jwt-decode": "^2.2.0",
|
||||
"moment": "^2.19.1",
|
||||
|
||||
@@ -4,14 +4,14 @@ const API_VERSION = 'v2';
|
||||
|
||||
const API_SERVER_BASE = (() => {
|
||||
if(APPLICAITON_MODE === 'TEST'){
|
||||
return 'http://localhost/api-wiaas';
|
||||
return 'http://localhost:8000/api-wiaas';
|
||||
}
|
||||
|
||||
if(APPLICAITON_MODE === 'PROD'){
|
||||
return 'http://localhost/api-wiaas';
|
||||
return 'http://localhost:8000/api-wiaas';
|
||||
}
|
||||
|
||||
return 'http://localhost/api-wiaas';
|
||||
return 'http://localhost:8000/api-wiaas';
|
||||
})();
|
||||
|
||||
const API_SERVER = API_SERVER_BASE + '/' + API_VERSION;
|
||||
|
||||
Reference in New Issue
Block a user