Nona
Nona

Reputation: 5462

Is there a way to link non-https resources into a github pages site?

So I get the following error in Chrome console:

Mixed Content: The page at 'https://your-username.github.io/' was loaded over HTTPS, but requested an insecure stylesheet 'http://yui.yahooapis.com/pure/0.6.0/pure-min.css'. This request has been blocked; the content must be served over HTTPS.

Basically the yahoo pure library is being served over HTTP. Is the only solution simply to download it and link to it in a "relative directory" format from my index.html page (e.g., "./pure-min.css")?

Upvotes: 1

Views: 509

Answers (1)

VonC
VonC

Reputation: 1324977

As suggested in this issue, try instead

replacing all occurrences of http://yui.yahooapis.com with https://yui-s.yahooapis.com.

You can see it used in this YUI Library Examples: ProfilerViewer Control.

Upvotes: 1

Related Questions