Created
July 12, 2020 08:28
-
-
Save ledangtuanbk/0cf6e2deb8b62d1829b3c81206500be3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update | |
/opt/jasperreports-server-cp-5.6.0/apache-tomcat/webapps/jasperserver/WEB-INF/web.xml | |
add folling configuration | |
<filter> | |
<filter-name>CorsFilter</filter-name> | |
<filter-class>org.apache.catalina.filters.CorsFilter</filter-class> | |
</filter> | |
<filter-mapping> | |
<filter-name>CorsFilter</filter-name> | |
<url-pattern>/*</url-pattern> | |
</filter-mapping> | |
Sample for tomcat | |
https://enable-cors.org/server_tomcat.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment