Merge pull request #320 from guoxiao/https

Fix warnings when visited via https
This commit is contained in:
Milo Yip 2015-04-26 21:37:52 +08:00
commit cca4013dcf
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@
6. How to install RapidJSON? 6. How to install RapidJSON?
Check [Installation section](http://miloyip.github.io/rapidjson/). Check [Installation section](https://miloyip.github.io/rapidjson/).
7. Can RapidJSON run on my platform? 7. Can RapidJSON run on my platform?

View File

@ -18,10 +18,10 @@
(document.getElementsByClassName('contents')[0]).appendChild(dt); (document.getElementsByClassName('contents')[0]).appendChild(dt);
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})(); })();
</script> </script>
</body> </body>
</html> </html>