@sap/generator-fiori
Version:
Create an SAPUI5 application using SAP Fiori elements or a freestyle approach
32 lines (31 loc) • 754 B
JSON
{
"welcomeFile": "/index.html",
"authenticationMethod": "route",
"routes": [
{
"source": "^<%- servicePathSegment %>/(.*)$",
"target": "<%- targetPath %>",
"destination": "<%- destination %>",
"authenticationType": "<%- authentication %>",
"csrfProtection": false
},
{
"source": "^/resources/(.*)$",
"target": "/resources/$1",
"authenticationType": "none",
"destination": "ui5"
},
{
"source": "^/test-resources/(.*)$",
"target": "/test-resources/$1",
"authenticationType": "none",
"destination": "ui5"
},
{
"source": "^(.*)$",
"target": "$1",
"service": "html5-apps-repo-rt",
"authenticationType": "xsuaa"
}
]
}