Commit aad4294f authored by Joel Stanley's avatar Joel Stanley Committed by Rusty Russell

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: default avatarJoel Stanley <joel@jms.id.au>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 2219e312
...@@ -9,7 +9,7 @@ $url_prefix = getenv("URLPREFIX"); ...@@ -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>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment