Browse Source

恢复原配置文件

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

+ 2 - 3
vue.config.js

@@ -1,7 +1,6 @@
 const proxy = {
   "/api/ecs_core": {
-    // target: process.env.VUE_APP_CORE_HOST_URL || "http://192.168.10.39:8000",
-    target: "http://localhost:8000",
+    target: process.env.VUE_APP_CORE_HOST_URL || "http://192.168.10.39:8000",
     changeOrigin: true
   },
   "/api/ecs_exam_work": {
@@ -20,7 +19,7 @@ const proxy = {
     changeOrigin: true
   },
   "/api/ecs_oe_admin": {
-    target: "http://localhost:8013",
+    target: process.env.VUE_APP_OE_HOST_URL || "http://192.168.10.39:8013",
     changeOrigin: true
   },
   "/api/ecs_oe_student": {