mirror of
https://github.com/silenty4ng/k5web
synced 2025-01-08 04:44:29 +00:00
update
This commit is contained in:
parent
ac50b21707
commit
93a252f17a
1 changed files with 5 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
|||
window.TextDecoder = TextDecoder;
|
||||
|
||||
// 遥测
|
||||
if(location.hostname == 'k5.vicicode.com' || location.hostname == 'k5.lhw711.cn'){
|
||||
if(location.hostname == 'k5.vicicode.com' || location.hostname == 'k5.lhw711.cn' || location.hostname == 'mm.md' || location.hostname == 'k5.mm.md'){
|
||||
const aegis = new Aegis({
|
||||
id: 'yr5DeslJkz3Qn20jg0', // 上报 id
|
||||
reportApiSpeed: true, // 接口测速
|
||||
|
@ -27,6 +27,10 @@
|
|||
spa: true, // spa 应用页面跳转的时候开启 pv 计算
|
||||
hostUrl: 'https://rumt-zh.com'
|
||||
});
|
||||
const shynet = document.createElement('script');
|
||||
shynet.defer;
|
||||
shynet.src = "https://shynet.vicicode.com/ingress/4c1dcea4-75c5-45e2-a641-25f211adbad6/script.js";
|
||||
document.body.append(shynet);
|
||||
}
|
||||
|
||||
const { currentLocale } = useLocale();
|
||||
|
|
Loading…
Reference in a new issue