Browse Source

web/logo: Use a relative protocol

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>
Joel Stanley 10 years ago
parent
commit
aad4294f8c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/logo.html

+ 1 - 1
web/logo.html

@@ -9,7 +9,7 @@ $url_prefix = getenv("URLPREFIX");
   <title>ccan</title>
   <title>ccan</title>
   <link rel="stylesheet" type="text/css" href="<?=$url_prefix?>ccan.css"/>
   <link rel="stylesheet" type="text/css" href="<?=$url_prefix?>ccan.css"/>
   <meta name="viewport" content="width=device-width, initial-scale=1">
   <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'>
   <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>
   <script type="text/javascript" src="<?=$url_prefix?>prettify/src/run_prettify.js"></script>
 <head>
 <head>