|
@@ -10,12 +10,12 @@ var advUrl = window.location.href;
|
|
|
testServer: /jianyu360\.cn$/g
|
|
|
}
|
|
|
// ip或者以jianyu360.cn结尾的使用测试环境百度统计
|
|
|
- if (patterns.testServer.test(host)) {
|
|
|
+ if (patterns.ip.test(host) ||patterns.testServer.test(host)) {
|
|
|
// 测试环境
|
|
|
hm.src = "https://hm.baidu.com/hm.js?52c42de35032567eb9d7a24a43c84bda";
|
|
|
} else {
|
|
|
// 正式环境
|
|
|
- hm.src = "https://hm.baidu.com/hm.js?52c42de35032567eb9d7a24a43c84bda";
|
|
|
+ hm.src = "https://hm.baidu.com/hm.js?72331746d85dcac3dac65202d103e5d9";
|
|
|
}
|
|
|
setTimeout(function(){
|
|
|
var s = document.getElementsByTagName("script")[0];
|