From 4ab76ad76bb86916fa311abe0ede4d33283eb913 Mon Sep 17 00:00:00 2001 From: wyx Date: Fri, 3 Feb 2023 17:00:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9env=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=8F=8A=E9=9D=A2=E6=8E=88=E4=BA=8C=E7=BB=B4=E7=A0=81=E5=8D=8F?= =?UTF-8?q?=E8=AE=AE=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- src/api/method.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index d398e4b1..c7f198b9 100644 --- a/.env +++ b/.env @@ -16,7 +16,7 @@ VUE_APP_OUTPUT_DIR=./dist # iframe嵌套url VUE_APP_IFRAME_URL=//u-pre.boe.com/pc/iframe # 学员端路由 -VUE_APP_IFRAME_STUDENT_URL=//u-pre.boe.com/pc/loadingVUE_APP_BOE_API_URLVUE_APP_BOE_API_URL +VUE_APP_IFRAME_STUDENT_URL=//u-pre.boe.com/pc/loading # 课程二维码 VUE_APP_COURSE_STUDY=//u-pre.boe.com/pc/course/studyindex?id= diff --git a/src/api/method.js b/src/api/method.js index 7e1add2b..f5826d2f 100644 --- a/src/api/method.js +++ b/src/api/method.js @@ -282,7 +282,7 @@ const iframeUrl = window.location.protocol + process.env.VUE_APP_IFRAME_URL const studentUrl = window.location.protocol + process.env.VUE_APP_IFRAME_STUDENT_URL //二维码 -const codeUrl = "https://u-pre.boe.com" +const codeUrl = window.location.protocol + "//u-pre.boe.com" export { throttle, toDate,