懵逼的我
2017-02-19 17:43
遇上了终极难题,代码本地运行课程中的功能都能实现,但我把它放在github上,github pages生成的demo页面就有问题。
首先是cdn地址无法使用,我都换成了对应的本地插件,页面倒是正常了。可是查询提交申请时报错:
jquery-1.11.1.min.js:4 Mixed Content: The page at 'https://ccccccl.github.io/Train-time/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://cors.itxti.net/?www.webxml.com.cn/WebServices/TrainTimeWebService.asmx/getStationAndTimeDataSetByLikeTrainCode?UserID=&TrainCode=G1'. This request has been blocked; the content must be served over HTTPS.
我理解的是因为github的协议头是https,但是代理的协议是http,所以不行。于是我在网上查了两天,想解决想找https协议的代理,都无果。
求大神帮助!
用coding替换GitHub吧,我之前是这么解决的
jQM Web App –列车时刻表
38484 学习 · 198 问题
相似问题