然后,我为生产环境构建了它,并将生成的bundle放入与tomcat相同的机器上的nginx中。
在Firefox中运行,得到正确的页面,但没有数据。控制台显示GET正常。Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://centos7StackOverFlow中关于此主题的其他问题表明,两者必须在同一个域中,tomcat服务器是centos7:8080/her