introduce docker - changed config files to work with docker
This commit is contained in:
@@ -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