Pārlūkot izejas kodu

线上前端阿里云监控 exam qmtest

Michael Wang 4 gadi atpakaļ
vecāks
revīzija
18d355f0b0
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  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) {