Skip to content

Commit

Permalink
Merge pull request iissnan#1658 from tinpont/patch-1
Browse files Browse the repository at this point in the history
Upgrade tencent-mta to 2.0.4 and using https
  • Loading branch information
ivan-nginx authored May 14, 2017
2 parents 93434d4 + 0ff9efe commit 02bd529
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layout/_third-party/analytics/tencent-mta.swig
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
var _mtac = {};
(function() {
var mta = document.createElement("script");
mta.src = "http://pingjs.qq.com/h5/stats.js?v2.0.2";
mta.src = "https://pingjs.qq.com/h5/stats.js?v2.0.4";
mta.setAttribute("name", "MTAH5");
mta.setAttribute("sid", "{{theme.tencent_mta}}");

var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(mta, s);
})();
</script>
{% endif %}
{% endif %}

0 comments on commit 02bd529

Please sign in to comment.