Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http requests in https mode #5

Open
quenenni opened this issue Apr 12, 2014 · 0 comments
Open

http requests in https mode #5

quenenni opened this issue Apr 12, 2014 · 0 comments

Comments

@quenenni
Copy link

In all the .ejs files in templates dir, we have:

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

It should be replaced by:

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

(without the http:)
That way, "http://google.." is use when accessing the pad with http and "https://googe.."when accessing with https.

If not, when accessing with https, in Firefox, we have an error:

Blocage du chargement du contenu mixte actif (mixed active content) « http://fonts.googleapis.com/css?family=Open+Sans:400,700 »

See https://developer.mozilla.org/fr/docs/Security/MixedContent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant