web/logo: Use a relative protocol
authorJoel Stanley <joel@jms.id.au>
Wed, 9 Dec 2015 01:17:51 +0000 (11:47 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 9 Dec 2015 03:02:55 +0000 (13:32 +1030)
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@jms.id.au>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
web/logo.html

index d281df9fc24db8ae3d9e8701652338d77b2577c5..c0d1531b32cb632ccc9a141dadeb55d68a29ad26 100644 (file)
@@ -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>