mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
22 lines
492 B
JavaScript
22 lines
492 B
JavaScript
module.exports = {
|
|
"host": "0.0.0.0",
|
|
"port": 3000,
|
|
"dir": "./dist",
|
|
"spa": true,
|
|
"proxy": {
|
|
"/alfresco/{p*}": {
|
|
"options": {
|
|
"uri": "http://0.0.0.0:8080/alfresco/{p}"
|
|
}
|
|
}
|
|
},
|
|
onResHeaders(headers) {
|
|
if (headers) {
|
|
const authHeader = headers['www-authenticate'];
|
|
if (authHeader) {
|
|
headers['www-authenticate'] = `x${authHeader}`;
|
|
}
|
|
}
|
|
}
|
|
}
|