移除百度统计代码

This commit is contained in:
hooray
2021-11-02 10:09:03 +08:00
parent 043d34d2a1
commit b2f8ef329e
2 changed files with 0 additions and 20 deletions
-19
View File
@@ -77,25 +77,6 @@
margin-top: 50px;
}
</style>
<% if (htmlWebpackPlugin.options.appType == 'example') { %>
<script>
var _hmt = _hmt || [];
(function() {
if (location.origin.includes('gitee')) {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?ba0ee7b31f404b7dc10bfcd8bdc7183d";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
}
if (location.origin.includes('github')) {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?d07a64f7a02cd5e9c01e1b36948ac4a5";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
}
})();
</script>
<% } %>
</head>
<body>
<noscript>
-1
View File
@@ -156,7 +156,6 @@ module.exports = {
args[0].cdn = cdn
}
args[0].debugTool = process.env.VUE_APP_DEBUG_TOOL
args[0].appType = process.env.VUE_APP_TYPE
return args
})
}