问题
**Hello I have problem when I deploy my website to Heroku it's work in local but when Heroku it not working **
this error display
Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure stylesheet ''. This request has been blocked; the content must be served over HTTPS.
enter image description here **I know it need content for HTTPS not HTTP but how can I make content by HTTPS **
回答1:
Heroku adds SSL by default. Whereas when you are running it locally and haven't done the certificates it will be available through http.
Try accessing the webpage through http://... instead of https://...
来源:https://stackoverflow.com/questions/60297995/how-can-fix-error-mixed-content-when-i-uploed-my-project-to-herkou