Browse Source

地址恢复为测试环境

lideyin 6 năm trước cách đây
mục cha
commit
edd652330c
2 tập tin đã thay đổi với 3 bổ sung4 xóa
  1. 1 1
      .env.development
  2. 2 3
      vue.config.js

+ 1 - 1
.env.development

@@ -1,6 +1,6 @@
 #### 如果需要改变以下环境变量的值,请在根目录下新增 .env.local 文件,里面设置的变量会覆盖本文件
 VUE_APP_CORE_HOST_URL=http://192.168.10.39:8000
-VUE_APP_EXAM_WORK_HOST_URL=http://192.168.10.125:8001
+VUE_APP_EXAM_WORK_HOST_URL=http://192.168.10.39:8001
 VUE_APP_QUESTIONS_HOST_URL=http://192.168.10.39:8008
 VUE_APP_OE_HOST_URL=http://192.168.10.39:8013
 VUE_APP_MARKING_HOST_URL=http://192.168.10.39:8004

+ 2 - 3
vue.config.js

@@ -4,9 +4,8 @@ const proxy = {
     changeOrigin: true
   },
   "/api/ecs_exam_work": {
-    // target:
-    //   process.env.VUE_APP_EXAM_WORK_HOST_URL || "http://192.168.10.39:8001",
-    target: "http://192.168.10.125:8001",
+    target:
+      process.env.VUE_APP_EXAM_WORK_HOST_URL || "http://192.168.10.39:8001",
     changeOrigin: true
   },
   "/api/ecs_outlet": {