报错

Mixed Content: The page at 'https://xinjn.github.io/vue-blog-preview/#/login' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://blog-server.hunger-valley.com/auth/login'. This request has been blocked; the content must be served over HTTPS.
如果要在github上部署代码,代码中的接口地址需要换成https的接口 解决方法:
解决在浏览器中https请求http资源而报警_s_monster_的博客-CSDN博客_https 请求httpblog.csdn.net
Mixed Content:the page at‘http://XXXX‘ was loaded over HTTPSblog.csdn.net
解决Mixed Content: The page at。。。。HTTPS中包含http的不安全问题blog.csdn.net