mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* Load discovery and pass info to jsapi * fix the roles empty scenario tests * Make lint happier * Rename the initApi method * Add secret field Co-authored-by: arditdomi <ardit.domi@hyland.com>
15 lines
484 B
JavaScript
15 lines
484 B
JavaScript
require('dotenv').config();
|
|
|
|
const { getDeployedAppsProxy, getShareProxy, getApsProxy } = require('./proxy-helpers');
|
|
|
|
const legacyHost = process.env.PROXY_HOST_ADF;
|
|
const cloudHost = process.env.CLOUD_PROXY_HOST_ADF || process.env.PROXY_HOST_ADF;
|
|
const cloudApps = process.env.APP_CONFIG_APPS_DEPLOYED;
|
|
const apsHost = process.env.PROXY_HOST_ADF;
|
|
|
|
module.exports = {
|
|
...getShareProxy(legacyHost),
|
|
...getApsProxy(apsHost),
|
|
...getDeployedAppsProxy(cloudHost, cloudApps)
|
|
};
|