To enable the CORS headers, you need to change the CORS filter by editing the fsi/WEB_INF/web.xml.

First add an additional filter after the ViewerFilter as follows:

Copy to Clipboard

After the declaration of the filter-mapping for ViewerFilter, a few lines down, comment out and add as follows:

Copy to Clipboard

After this, restart the Tomcat server.