{
"welcomeFile": "/index.html",
"authenticationMethod": "route",
"routes": [
{
"source": "^undefined/(.*)$",
"target": "undefined/$1",
"destination": "DIRECT_SERVICE_BINDING",
"authenticationType": "xsuaa",
"csrfProtection": false
},
{
"source": "^/resources/(.*)$",
"target": "/resources/$1",
"authenticationType": "none",
"destination": "ui5"
},
{
"source": "^/test-resources/(.*)$",
"target": "/test-resources/$1",
"authenticationType": "none",
"destination": "ui5"
},
{
"source": "^(xyz.json)$",
"target": "$1",
"authenticationType": "none"
},
{
"source": "^(.*)$",
"target": "$1",
"service": "html5-apps-repo-rt",
"authenticationType": "xsuaa"
}
]
}
我猜想我缺少更多,但无法弄清楚。有人面临同样的问题还是知道如何使这个工作?
P.D。:该应用程序应使用XSUAA,只有文件xyz.json才能公开
我感谢任何提示。 谢谢
{
"source": "^(xyz.json)$",
"target": "$1",
"service": "html5-apps-repo-rt",
"authenticationType": "none"
}