Browse Source

task url 名字纠正

xiatian 5 years ago
parent
commit
4211cf1af7
2 changed files with 3 additions and 2 deletions
  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": {