Browse Source

fix: 修改分析系统访问接口

weijin 4 years ago
parent
commit
74ed6d1f60
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/api/prefix.ts
  2. 1 1
      vue.config.js

+ 1 - 1
src/api/prefix.ts

@@ -8,6 +8,6 @@ export const JUDGE_MODULE = BASE_URL + '/judge'
 export const REPORT_MODULE = BASE_URL + '/report'
 export const RECORD_MODULE = BASE_URL + '/record'
 
-const ANALYSIS_URL = '/apis'
+const ANALYSIS_URL = '/eval'
 
 export const ANALYSIS_MODULE = ANALYSIS_URL + '/analysis'

+ 1 - 1
vue.config.js

@@ -11,7 +11,7 @@ module.exports = {
         ws: true,
         changeOrigin: true
       },
-      '^/apis': {
+      '^/eval': {
         // target: 'http://localhost:8089/',
         target: 'https://analysis.seec.seecoder.cn/',
         ws: true,