pull/330/head
vapao 2021-04-16 08:42:46 +08:00
parent c78c24b859
commit 1a7298fab3
2 changed files with 1 additions and 5 deletions

View File

@ -2,12 +2,11 @@
# Copyright: (c) <spug.dev@gmail.com>
# Released under the AGPL-3.0 License.
from channels.routing import ProtocolTypeRouter, ChannelNameRouter
from consumer import routing, executors, consumers
from consumer import routing, executors
application = ProtocolTypeRouter({
'channel': ChannelNameRouter({
'ssh_exec': executors.SSHExecutor,
'notify_message': consumers.NotifyConsumer,
}),
'websocket': routing.ws_router
})

View File

@ -30,9 +30,6 @@ class ComTable extends React.Component {
}, {
title: '姓名',
dataIndex: 'nickname',
}, {
title: '类型',
dataIndex: 'type',
}, {
title: '角色',
dataIndex: 'role_name'