Eugenio Romano 4f76c4e45c
[build-issue] Run always all when is not a PR (#4593)
* run always all when is not a PR

* run always all when is not a PR

* run always all when is not a PR

* run always all when is not a PR

* run always all when is not a PR
2019-04-11 12:07:18 +01:00

26 lines
730 B
JavaScript

module.exports = {
"/alfresco": {
"target": "http://localhost:8080",
"secure": false,
"pathRewrite": {
"^/alfresco/alfresco": ""
},
"changeOrigin": true,
// workaround for REPO-2260
onProxyRes: function (proxyRes, req, res) {
const header = proxyRes.headers['www-authenticate'];
if (header && header.startsWith('Basic')) {
proxyRes.headers['www-authenticate'] = 'x' + header;
}
}
},
"/activiti-app": {
"target": "http://localhost:8080",
"secure": false,
"pathRewrite": {
"^/activiti-app/activiti-app": ""
},
"changeOrigin": true
}
};