Merge branch 'master' into feature/product-detail
Showing
3 changed files
with
7 additions
and
2 deletions
@@ -98,7 +98,8 @@ function getShoppingKey() { | @@ -98,7 +98,8 @@ function getShoppingKey() { | ||
98 | a.async = 1; | 98 | a.async = 1; |
99 | a.src = j; | 99 | a.src = j; |
100 | m.parentNode.insertBefore(a, m); | 100 | m.parentNode.insertBefore(a, m); |
101 | -}(window, document, 'script', '//cdn.yoho.cn/yas-jssdk/1.0.17/yas.js', '_yas')); | 101 | +})(window, document, 'script', (document.location.protocol === 'https:' ? 'https' : 'http') + '://' + // eslint-disable-line |
102 | +'cdn.yoho.cn/yas-jssdk/1.0.17/yas.js', '_yas'); // eslint-disable-line | ||
102 | 103 | ||
103 | (function() { | 104 | (function() { |
104 | var uid = getUid(); | 105 | var uid = getUid(); |
-
Please register or login to post a comment