Setup
1. Configure
You have to setup CORS to use elasticvue. Add the following lines to your elasticsearch.yml:
# allow CORS requests from http://157.241.20.95:8080
http.cors.enabled: true
http.cors.allow-origin: "http://157.241.20.95:8080"
# and if your cluster uses authorization:
http.cors.allow-headers: X-Requested-With,Content-Type,Content-Length,Authorization
Then restart your cluster.
This can also be done if you run elasticsearch via docker, by adding the config via environment variables: docker run -e "http.cors.enabled=true" -e "http.cors.allow-origin=http://157.241.20.95:8080" -p 9200:9200 elasticsearch