소스 검색

切换接口

zsw007 3 년 전
부모
커밋
514fe2db4c
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 2
      src/api/index.js
  2. 1 1
      vue.config.js

+ 2 - 2
src/api/index.js

@@ -3,8 +3,8 @@ import config from './config.js';
 
 axios.default.timeout = 500000;
 axios.defaults.headers.post['Content-Type'] = "application/json;charset=utf-8";
-axios.defaults.baseURL = 'http://192.168.2.236:6060';
-//axios.defaults.baseURL = 'http://192.168.2.241';
+//axios.defaults.baseURL = 'http://192.168.2.236:6060';
+axios.defaults.baseURL = 'http://192.168.2.241';
 // axios.defaults.baseURL = 'http://192.168.3.113:6060';
 
 

+ 1 - 1
vue.config.js

@@ -1,7 +1,7 @@
 const path = require('path');
 //const proxy_path = 'http://192.168.2.241:80';
 //const proxy_path = 'http://192.168.2.241:84';
-const proxy_path = 'http://192.168.2.236:88';
+//const proxy_path = 'http://192.168.2.236:88';
 //const proxy_path = 'http://192.168.2.236:6060';
 //const proxy_path = 'http://192.168.2.241:6060';
 // const proxy_path = 'http://192.168.3.101:5050';