{
  "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 %>"
    }
  ]
}
