Less: @import url using http instead of https after minification
angularjs, css, fonts, less, minify
Solution
Turns out the minifier I am using automatically turns an import starting with `//myurl` to `http://myurl` and that was causing my issue. I added the `processImport: false` option and now everything is working as intended.
An issue has been opened regarding this behavior on GitHub.
Problem
I am getting this error: `Mixed Content: The page at 'https://theculprit.com/url' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/opensans/v10/DXI1ORHCpsQm3Vp6mXoaTYnF5uFdDttMLvmWuJdhhgs.ttf'. This request has been blocked; the content must be served over HTTPS.` When I looked through the source to find where the font was being imported via HTTP rather than HTTPS, the only line pertaining to a font import was: ``` @import url('//fonts.googleapis.com/css?family=Open+Sans:400,700,300,600,800'); ``` Initially I though HTTPS assets loading over HTTP could be my error, but the font is already being imported using the sources protocol. This only happens after the code has been minified. I'm not very familiar with fonts/css/less, so I'm completely lost. If there is any other info I can give to help out let me know.