linqilong 4 달 전
부모
커밋
3dadd88492
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      index.html
  2. 1 1
      src/permission.ts

+ 0 - 1
index.html

@@ -4,7 +4,6 @@
     <meta charset="UTF-8">
     <link href="/favicon.ico" rel="icon">
     <meta content="width=device-width, initial-scale=1.0" name="viewport">
-    <script src="/constant.js"></script>
     <title>智慧运维软件</title>
 </head>
 <body>

+ 1 - 1
src/permission.ts

@@ -17,7 +17,7 @@ router.beforeEach((to, from, next) => {
       next();
     } else {
       // 否则全部重定向到登录页
-      window.location.href = 'http://10.8.11.123:8089/cas/login?service=http://localhost/check'
+      window.location.href = 'http://10.8.11.123:8089/cas/login?service=http://10.8.48.235/check'
     }
   }
 });