I have designed the custom theme and saved it as default via SAP_FLP theme parameter in /UI2/NWBC_CFG_CUST Tcode. I have deleted User profile in SU01. Cleaned up all the caches, it is working fine when tested internally. However when I made it go live for public via SAP Web dispatcher as a reverse proxy, it is not loading the custom theme properly. On checking in the console, I came to know that XMLHTTPREQUEST to internal server (which is obviously not public) fails due to cross origin resource sharing (CORS) issue. It says no access origin allow parameter is placed in the response header. Any suggestion how to fix this issue as I am completely confused on it as it is a FIORI issue or SAP Web Dispatcher Issue?
Kindly help.