alfresco-content-app/app/proxy.conf.js
Maurizio Vitale 3cb6152ad7
[AAE-6455] Rename the structure to be compliant with nx (#2376)
* Rename the structure to be compliant with nx

* Fix typo

* Fix ts path
2021-12-08 16:06:12 +00:00

16 lines
389 B
JavaScript

require('@alfresco/adf-cli/tooling').dotenvConfig({ path: process.env.ENV_FILE });
const APP_CONFIG_ECM_HOST = process.env.APP_CONFIG_ECM_HOST;
module.exports = {
"/alfresco": {
"target": APP_CONFIG_ECM_HOST,
"secure": false,
"pathRewrite": {
"^/alfresco/alfresco": ""
},
"changeOrigin": true,
'logLevel': 'debug'
}
};