在SAP BTPCF

问题描述 投票:0回答:0

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

我尝试了其他方法,例如使用“源”:“^/xyz.txt $”和目标“ target”:“/xyz.json”,从路线上删除目标,但所有这些都会导致相同的结果。

我猜想我缺少更多,但无法弄清楚。有人面临同样的问题还是知道如何使这个工作?

P.D。:该应用程序应使用XSUAA,只有文件xyz.json才能公开

我感谢任何提示。
谢谢
    

{ "source": "^(xyz.json)$", "target": "$1", "service": "html5-apps-repo-rt", "authenticationType": "none" }

sapui5 sap-fiori sap-business-technology-platform
最新问题
© www.soinside.com 2019 - 2025. All rights reserved.