中被阻止
我设法使用Zappa将我的网站部署到AWS Lambda,这很复杂,但我最终到达了那里。但是,我遇到了我的一些图标没有加载的问题。请参阅下面的Consol日志。
Blocked loading mixed active content "http://localhost:8000/static/scss/icons/simple-line-icons//fonts/Simple-Line-Icons.ttf?-i3a2kk"[Learn More]
login
Blocked loading mixed active content "http://localhost:8000/static/scss/icons/themify-icons/fonts/themify.woff"[Learn More]
login
Blocked loading mixed active content "http://localhost:8000/static/scss/icons/material-design-iconic-font//fonts/materialdesignicons-webfont.woff2?v=1.8.36"[Learn More]
login
Blocked loading mixed active content "http://localhost:8000/static/scss/icons/font-awesome/webfonts/fa-solid-900.woff2"[Learn More]
login
Blocked loading mixed active content "http://localhost:8000/static/scss/icons/font-awesome/webfonts/fa-regular-400.woff2"[Learn More]
该网站托管在https://h28ijhkwy3.execute-api.eu-west-2.amazonaws.com/demo/account/login
所以,我相信使用:
从我的style.css文件调用此文件@import url(../scss/icons/material-design-iconic-font/css/materialdesignicons.min.css);
我尝试将完整的AWS S3路径放置,但它仍然不起作用,但我仍然在控制台中遇到相同的错误。
您是否正在使用Firefox?如果是这样,此答案可能会帮助您:https://stackoverflow.com/a/18251129/1014508
tldr;默认情况下,混合的活动内容在Firefox 23