mirror of https://github.com/jumpserver/jumpserver
perf: 新增 chen 终端类型
parent
4d4644dddd
commit
42852c368c
|
@ -214,6 +214,14 @@ class ConnectMethodUtil:
|
|||
'support': [Protocol.rdp],
|
||||
'match': 'map'
|
||||
},
|
||||
TerminalType.chen: {
|
||||
'web_methods': [WebMethod.web_gui],
|
||||
'listen': [Protocol.http],
|
||||
'support': [
|
||||
Protocol.mysql, Protocol.postgresql, Protocol.oracle,
|
||||
],
|
||||
'match': 'm2m'
|
||||
},
|
||||
}
|
||||
return protocols
|
||||
|
||||
|
|
|
@ -49,6 +49,7 @@ class TerminalType(TextChoices):
|
|||
razor = 'razor', 'Razor'
|
||||
tinker = 'tinker', 'Tinker'
|
||||
video_worker = 'video_worker', 'Video Worker'
|
||||
chen = 'chen', 'Chen'
|
||||
|
||||
@classmethod
|
||||
def types(cls):
|
||||
|
|
Loading…
Reference in New Issue