mixed content from localhost

mixed content from localhost

Google Chrome 59
httpsなページ内からhttpリクエストを送ろうとすると怒られる
console.log
Copied!
Mixed Content: The page at https://... was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://localhost:8000/api/foo'. This request has been blocked; the content must be served over HTTPS.
ローカルサーバに対してhttpアクセスできないということになり,ブラウザ拡張機能などのデバッグ時に不便
http://localhost : 怒られる
http://127.0.0.1 : 怒られない

#2017-07-05
Powered by Helpfeel