Commit d9064a82 authored by liubinyu's avatar liubinyu

修改接口地址

parent 1f003291
// 常量 // 常量
// const server_ip = '8.130.25.40'; // 测试服务器 // const server_ip = '8.130.25.40'; // 测试服务器
// const server_ip = '22.57.64.22:8256'; // 线上内网ip // const server_ip = '22.57.64.22:8256'; // 线上内网ip
const server_ip = '39.105.38.125:8256'; // 线上外网 const server_ip = '192.168.110.168:8256'; // 线上外网
// const server_ip = '192.168.43.25:8258'; // const server_ip = '192.168.43.25:8258';
export const CONFIG = { export const CONFIG = {
......
...@@ -8,12 +8,12 @@ module.exports = { ...@@ -8,12 +8,12 @@ module.exports = {
proxy: { proxy: {
'^/plant/': { '^/plant/': {
// target: 'http://8.130.25.40', // target: 'http://8.130.25.40',
target: 'http://39.105.38.125:8256', target: 'http://192.168.110.168:8256',
// target: 'http://192.168.43.122:8258', // target: 'http://192.168.43.122:8258',
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'/plant/' : '/' // '/plant/' : '/'
} }
} }
} }
......
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