asp.net mvc bundles do not render for https.
here is my code:
bundles.Add(new StyleBundle("~/Content/css/css").Include("~/Content/css/custom.css"));
View
@Styles.Render("~/Content/css/css")
And the error code I get is:
Mixed Content: The page at
'https://domain/'
was loaded over HTTPS, but requested an insecure stylesheet'http://domain:443/Content/css/custom.css'
. This request has been blocked; the content must be served over HTTPS.