Browse Source

路径配置

黄琪勇 3 weeks ago
parent
commit
c5f7d4824a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/utils/urlUtils.ts

+ 3 - 3
src/utils/urlUtils.ts

@@ -39,13 +39,13 @@ export function vaildPPTUrl() {
   let returnUrl = '';
 
   if (/test/.test(url)) {
-    returnUrl = 'https://test.kt.colexiu.com';
+    returnUrl = 'https://test.kt.colexiu.com/classroom-ppt';
   } else if (/dev/.test(url)) {
-    returnUrl = 'https://dev.kt.colexiu.com';
+    returnUrl = 'https://dev.kt.colexiu.com/classroom-ppt';
   } else if (/localhost/.test(url)) {
     returnUrl = 'http://192.168.3.122:9527';
   } else {
-    returnUrl = 'https://mec.colexiu.com';
+    returnUrl = 'https://mec.colexiu.com/classroom-ppt';
   }
   return returnUrl;
 }