Commit 805611b3 authored by 赵啸非's avatar 赵啸非

修改访问端口与ip

parent 345060c3
...@@ -25,10 +25,10 @@ const instance = axios.create({ ...@@ -25,10 +25,10 @@ const instance = axios.create({
instance.interceptors.request.use(config => { instance.interceptors.request.use(config => {
// 获取当前页面的主机名和端口号 // 获取当前页面的主机名和端口号
// const hostname = location.hostname; const hostname = location.hostname;
const baseURL =config.baseURL; const baseURL =config.baseURL;
//const port = location.port; //const port = location.port;
// const port =process.env.VUE_APP_PORTAL_PORT=='undefined'?'11072':process.env.VUE_APP_PORTAL_PORT; const port =process.env.VUE_APP_PORTAL_PORT=='undefined'?'11078':process.env.VUE_APP_PORTAL_PORT;
// 测试用 // 测试用
//http://192.168.0.98:11039 //http://192.168.0.98:11039
...@@ -38,8 +38,8 @@ instance.interceptors.request.use(config => { ...@@ -38,8 +38,8 @@ instance.interceptors.request.use(config => {
// 代 // 代
// http://192.168.0.108/17500 // http://192.168.0.108/17500
const hostname = '192.168.0.116' //const hostname = '192.168.0.116'
const port = '17500' //const port = '17500'
// const hostname = '192.168.0.108' // const hostname = '192.168.0.108'
// const port = '11039' // const port = '11039'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment