[ccan] [PATCH 2/3] web/logo: Use a relative protocol
Joel Stanley
joel at jms.id.au
Wed Dec 9 12:17:51 AEDT 2015
The webfont forces http, which results in a mixed content warning if
you're visiting the site on https. Strip the protocol so we use whatever
the user has connected with.
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
web/logo.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/logo.html b/web/logo.html
index d281df9fc24d..c0d1531b32cb 100644
--- a/web/logo.html
+++ b/web/logo.html
@@ -9,7 +9,7 @@ $url_prefix = getenv("URLPREFIX");
<title>ccan</title>
<link rel="stylesheet" type="text/css" href="<?=$url_prefix?>ccan.css"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
- <link href='http://fonts.googleapis.com/css?family=Raleway:300' rel='stylesheet' type='text/css'>
+ <link href='//fonts.googleapis.com/css?family=Raleway:300' rel='stylesheet' type='text/css'>
<link href='<?=$url_prefix?>prettify/src/prettify.css' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="<?=$url_prefix?>prettify/src/run_prettify.js"></script>
<head>
--
2.6.2
More information about the ccan
mailing list