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

修改访问端口与ip

parent 345060c3
......@@ -25,10 +25,10 @@ const instance = axios.create({
instance.interceptors.request.use(config => {
// 获取当前页面的主机名和端口号
// const hostname = location.hostname;
const hostname = location.hostname;
const baseURL =config.baseURL;
//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
......@@ -38,8 +38,8 @@ instance.interceptors.request.use(config => {
// 代
// http://192.168.0.108/17500
const hostname = '192.168.0.116'
const port = '17500'
//const hostname = '192.168.0.116'
//const port = '17500'
// const hostname = '192.168.0.108'
// 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