0 Replies Latest reply on Aug 14, 2019 3:52 AM by daniel6666

    Enable CORS(Cross-Origin Resource Sharing) in Wildfly

    daniel6666

      Hi,

      My WilfFly version is 8.1.0 .

       

      I use WildFly to host a .gesjson file and use Kibana to access it like this post https://www.elastic.co/cn/blog/custom-region-maps-in-kibana-6-0 .

      But when I open Kibana it shows :

      Error downloading vector data Cannot download World Map file. Please ensure the CORS configuration of the server permits requests from the Kibana application on this host

       

      How could I configure to enable CORS and accepts the kbn-version header in standalone.xml?

      Thank You!

       

      Daniel.