報錯

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