赞
踩
elasticsearch.yml
http.host: 0.0.0.0
# Uncomment the following lines for a production cluster deployment
transport.host: 0.0.0.0
#discovery.zen.minimum_master_nodes: 1
# 加入跨域配置
http.cors.enabled: true
http.cors.allow-origin: "*"
要这样配置
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。