UNPKG

@sap/generator-fiori

Version:

Create an SAPUI5 application using SAP Fiori elements or a freestyle approach

42 lines (41 loc) 1.12 kB
{ "welcomeFile": "/index.html", "authenticationMethod": "route", "routes": [<% if (typeof destination !== 'undefined') { %> { "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" },<% if (addAppFrontendRoutes) { %> { "source": "^/logout-page.html$", "service": "app-front", "authenticationType": "none" }, { "source": "^/index.html$", "service": "app-front", "cacheControl": "no-cache, no-store, must-revalidate" },<% } %> { "source": "^(.*)$", "target": "$1", "service": "<%- service %>", "authenticationType": "<%- authenticationType %>" } ] }