Browse Source

线上前端阿里云监控 exam qmtest

Michael Wang 4 years ago
parent
commit
18d355f0b0
1 changed files with 3 additions and 3 deletions
  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) {