mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[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:
@@ -4,16 +4,16 @@ const program = require('commander');
|
||||
require('dotenv').config({ path: process.env.ENV_FILE });
|
||||
const fs = require('fs');
|
||||
|
||||
const API_HOST = process.env.API_HOST || 'api';
|
||||
const API_CONTENT_HOST = process.env.API_CONTENT_HOST || 'api';
|
||||
const OAUTH_HOST = process.env.OAUTH_HOST || 'keycloak';
|
||||
|
||||
const options = {
|
||||
apiHost: {
|
||||
flags: '-a, --api-host',
|
||||
description: "set apiHost's and ecmHost's value with API_HOST",
|
||||
description: "set apiHost's and ecmHost's value with API_CONTENT_HOST",
|
||||
set: appConfig => {
|
||||
appConfig.ecmHost = API_HOST;
|
||||
appConfig.aosHost = API_HOST + '/alfresco/aos';
|
||||
appConfig.ecmHost = API_CONTENT_HOST;
|
||||
appConfig.aosHost = API_CONTENT_HOST + '/alfresco/aos';
|
||||
}
|
||||
},
|
||||
oauthHost: {
|
||||
|
Reference in New Issue
Block a user