由于此请求已被阻止,我无法通过我的浏览器获得预期结果;内容必须通过 HTTPS 提供。
我试过添加这个
{% block head %}
{{super()}}
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
{% endblock %}
这对其他人有用
'https://matic.herokuapp.com/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://matic.herokuapp.com/status/9092ba37-591e-4e73-b9e3-0ad9bef26cb1'. This request has been blocked; the content must be served over HTTPS.