Skip to content

Commit

Permalink
fix(恢复proxy): 恢复默认
Browse files Browse the repository at this point in the history
  • Loading branch information
Lind-pro committed Oct 10, 2020
1 parent 6bf552e commit bb86603
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions config/proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
export default {
dev: {
'/jetlinks': {
target: 'http://192.168.3.146:8844/',
ws: 'ws://192.168.3.146:8844/',
// target: 'http://192.168.3.146:8844/',
// ws: 'ws://192.168.3.146:8844/',
// target: 'http://water.zlkjhb.com:9000/jetlinks',
// ws: 'http://water.zlkjhb.com:9000/jetlinks',
// ws: 'ws://demo.jetlinks.cn/jetlinks',
// target: 'http://demo.jetlinks.cn/jetlinks',
// target: 'http://127.0.0.1:8848/',
// ws: 'ws://127.0.0.1:8848/',
target: 'http://127.0.0.1:8848/',
ws: 'ws://127.0.0.1:8848/',
// ws: 'ws://demo.jetlinks.cn/jetlinks',
// target: 'http://demo.jetlinks.cn/jetlinks',
changeOrigin: true,
Expand Down
12 changes: 6 additions & 6 deletions config/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ export const routes = [
iconfont: 'icon-shebeifenzuguanli',
component: './device/group',
},
{
path: '/device/tree',
name: '设备树',
icon: 'gold',
component: './device/tree'
},
// {
// path: '/device/tree',
// name: '设备树',
// icon: 'gold',
// component: './device/tree'
// },
{
hideInMenu: true,
path: '/device/instance/add',
Expand Down

0 comments on commit bb86603

Please sign in to comment.