且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

AngularJs-$ http.get请求,带有-1状态码的响应

更新时间:2022-12-04 08:51:56

整日解决.问题是我没有与项目本身一起部署html文件.我在项目中创建了相同的html文件,并且工作正常.

Solved after working on it whole day. The problem was I was not deploying html files together with the project itself. I created the same html file in the project and it worked fine.