use location.protocol for base href
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
8602ebd4ec
commit
31bac1b3de
|
@ -4,7 +4,7 @@
|
|||
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<script type="text/javascript">
|
||||
document.write("<base href='http://" + document.location.host + "' />");
|
||||
document.write("<base href='" + location.protocol + "//" + document.location.host + "' />");
|
||||
</script>
|
||||
<!-- Canonical links -->
|
||||
<link rel="canonical" href="{{ url }}">
|
||||
|
|
Loading…
Reference in New Issue