I have created an SAPUI5 application with standalone approuter in BAS (Business Application Studio) on a Cloud Foundry environment.
I want to link the Run Configuration to the theming service I've created in order to launch the app locally with a custom theme.
Steps I've taken:
{ "source": "^/comsapuitheming.runtime/(.*)$", "target": "$1", "service": "com.sap.ui.theming", "endpoint": "runtime", "authenticationType": "xsuaa", "csrfProtection": false, "scope": [ "$XSAPPNAME.User" ] },
The Run Configuration launches the following script
fiori run --open 'index.html?sap-client=100'
but when the application is launched all the theming resources are not loaded by chrome.
Can someone help me?
Thanks,
Pietro