Skip to Content
0
Jul 29 at 09:05 AM

Routes configured in UI5 app did not work

111 Views Last edit Jul 29 at 09:08 AM 3 rev

I'm using standalone approuter to entry different ui5 webapps. Previously, I only configured below routes in xs-app.json of approuter to entry the web projects. The routes for user-api and other destinations are configured in the xs-app.json of webprj1 or webprj2. It worked well before, but now I got 404 error.

I found that previously for user-api, request to below url worked.

https://xxxxx.hana.ondemand.com/user-api/currentUser

But now it returned 404. I tried with below URL, adding app name, it worked.

https://xxxxx.hana.ondemand.com/webprj1/user-api/currentUser

Can anyone tell if any update from SAP side? And how can I configure to make my previous design work. The need is to configure routes in xs-app.json of webapp, not in approuter.

Attachments

aithi.png (12.9 kB)