Преглед на файлове

线上前端阿里云监控 exam qmtest

Michael Wang преди 4 години
родител
ревизия
18d355f0b0
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      public/index.html

+ 3 - 3
public/index.html

@@ -46,9 +46,9 @@
 
     <script>
       if (
-        location.href.includes(
-          "https://ecs.qmth.com.cn:8878/oe/login/exam.qmth.com.cn"
-        )
+        ["exam", "qmtest"]
+          .map((v) => "https://" + v + ".")
+          .some((v) => location.href.includes(v))
       ) {
         (async function () {
           !(function (c, b, d, a) {