introduce docker - changed config files to work with docker

This commit is contained in:
GotPPay
2018-06-11 11:49:39 +02:00
parent ed7df7b11f
commit c21b30d288
11 changed files with 6626 additions and 3997 deletions

View File

@@ -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;