Procházet zdrojové kódy

修正ARMS采样率

Michael Wang před 6 roky
rodič
revize
f5b1a0c0ef
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      public/index.html

+ 1 - 1
public/index.html

@@ -26,7 +26,7 @@
     function startAliArms(sampleRate) {
       console.log('ARMS sample: ' + sampleRate);
       !(function (c, b, d, a) {
-        c[a] || (c[a] = {}); c[a].config = { pid: "hworw@48e147d26fd751a", enableSPA: true, sample: 10, sendResource: true, imgUrl: "https://arms-retcode.aliyuncs.com/r.png?" };
+        c[a] || (c[a] = {}); c[a].config = { pid: "hworw@48e147d26fd751a", enableSPA: true, sample: sampleRate, sendResource: true, imgUrl: "https://arms-retcode.aliyuncs.com/r.png?" };
         with (b) with (body) with (insertBefore(createElement("script"), firstChild)) setAttribute("crossorigin", "", src = d)
       })(window, document, "https://retcode.alicdn.com/retcode/bl.js", "__bl");
     }