[ACA-3342] Rename API_HOST to API_CONTENT_HOST (#1475)

* Rename API_HOST to API_CONTENT_HOST

* Use the right property called API_CONTENT_HOST

* Replace missing keys
This commit is contained in:
Maurizio Vitale
2020-05-22 09:17:55 +01:00
committed by GitHub
parent 5a12345865
commit e9f33c554d
4 changed files with 11 additions and 10 deletions

View File

@@ -15,7 +15,8 @@ const BROWSER_RUN = process.env.BROWSER_RUN;
const width = 1366;
const height = 768;
const API_HOST = process.env.API_HOST || 'http://localhost:8080';
const API_CONTENT_HOST =
process.env.API_CONTENT_HOST || 'http://localhost:8080';
function rmDir(dirPath) {
try {
@@ -33,7 +34,7 @@ function rmDir(dirPath) {
}
const appConfig = {
hostEcm: API_HOST,
hostEcm: API_CONTENT_HOST,
providers: 'ECM',
authType: 'BASIC'
};