mo 2 anni fa
parent
commit
c3655177db
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/helpers/utils.ts

+ 1 - 1
src/helpers/utils.ts

@@ -130,7 +130,7 @@ export const dateFormat = (
 export function vaildTeachingUrl() {
   let url = window.location.href
   let returnUrl = ''
-  if (/online/.test(url)) {
+  if (/colexiu/.test(url)) {
     //线上
     returnUrl = 'https://www.colexiu.com/'
   } else if (/dev/.test(url)) {