Re-run cds add mtx

This commit is contained in:
Daniel
2022-10-03 12:10:05 +02:00
parent f50afdbd69
commit fdd1d86ac7
4 changed files with 30 additions and 5 deletions

24
fiori/app/xs-app.json Normal file
View File

@@ -0,0 +1,24 @@
{
"authenticationMethod": "route",
"routes": [
{
"source": "^/-/cds/.*",
"destination": "mtx-api",
"authenticationType": "none"
},
{
"source": "^/app/(.*)$",
"target": "$1",
"localDir": ".",
"authenticationType": "xsuaa",
"cacheControl": "no-cache, no-store, must-revalidate"
},
{
"source": "^/(.*)$",
"target": "$1",
"destination": "srv-api",
"authenticationType": "xsuaa",
"csrfProtection": true
}
]
}