[library-web] Default to https



commit 4f5ed9b15c3a3dfcd9f712fe7987c0a7ec0b783c
Author: Andrea Veri <averi redhat com>
Date:   Thu Feb 20 11:14:03 2020 +0100

    Default to https

 data/xslt/indexes.xsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/xslt/indexes.xsl b/data/xslt/indexes.xsl
index 5898b71..accc118 100644
--- a/data/xslt/indexes.xsl
+++ b/data/xslt/indexes.xsl
@@ -671,7 +671,7 @@ div.body-sidebar { width: 100%; }
 (function() {
  var cx = '003454451080581476612:osbhtsmrn9g'; // Insert your own Custom Search engine ID here
  var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true;
- gcse.src = (document.location.protocol == 'https' ? 'https:' : 'http:') + '//www.google.com/cse/cse.js?cx=' 
+ cx;
+ gcse.src = (document.location.protocol == 'https' ? 'https:' : 'https:') + 
'//www.google.com/cse/cse.js?cx=' + cx;
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s);
 })();
 </script>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]