浏览代码

task url 名字纠正

xiatian 5 年之前
父节点
当前提交
4211cf1af7
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2 1
      .env.development
  2. 1 1
      vue.config.js

+ 2 - 1
.env.development

@@ -5,4 +5,5 @@ 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
 VUE_APP_DATA_PROCESS_HOST_URL=http://192.168.10.39:8005
-VUE_APP_REPORTS_HOST_URL=http://192.168.10.39:8015
+VUE_APP_REPORTS_HOST_URL=http://192.168.10.39:8015
+VUE_APP_TASK_HOST_URL=http://192.168.10.39:8011

+ 1 - 1
vue.config.js

@@ -40,7 +40,7 @@ const proxy = {
     changeOrigin: true
   },
   "/api/ctr/task": {
-    target: process.env.VUE_APP_PRINT_HOST_URL || "http://192.168.10.39:8011",
+    target: process.env.VUE_APP_TASK_HOST_URL || "http://192.168.10.39:8011",
     changeOrigin: true
   },
   "/api/ecs_reports": {