2

"Mixed Content: The page at 'https://mywebsite/user/signin?ReturnUrl=%2f' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Raleway:300,200,100'. This request has been blocked; the content must be served over HTTPS."

In my head tag I have these links,

<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,400italic,700,800' rel='stylesheet' type='text/css'>

<link href='http://fonts.googleapis.com/css?family=Raleway:100' rel='stylesheet' type='text/css'>

Rather than making them https, is there a solution to determine http or https and dynamically change these links?, sounds like a very simple question.

1 Answer 1

3

Well, surprisingly the answer found to be a pretty simple one, just remove http

<link href='//fonts.googleapis.com/css?family=Open+Sans:400,300,600,400italic,700,800' rel='stylesheet' type='text/css'>

<link href='//fonts.googleapis.com/css?family=Raleway:100' rel='stylesheet' type='text/css'>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.