lideyin 6 жил өмнө
parent
commit
d8a8318f0b
1 өөрчлөгдсөн 2 нэмэгдсэн , 3 устгасан
  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": {