Przeglądaj źródła

修改url地址

zsw007 3 lat temu
rodzic
commit
76d9dc149e
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      src/api/index.js
  2. 1 1
      vue.config.js

+ 1 - 1
src/api/index.js

@@ -4,7 +4,7 @@ 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.241:84';
 // axios.defaults.baseURL = 'http://192.168.3.113:6060';
 
 

+ 1 - 1
vue.config.js

@@ -1,6 +1,6 @@
 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.241:84';
 //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';