mirror of https://github.com/jumpserver/jumpserver
perf: 修改 protocols 默认值
parent
ddbd142ea3
commit
6096ccc30a
|
@ -185,7 +185,7 @@ class Protocol(ChoicesMixin, models.TextChoices):
|
|||
},
|
||||
'script': {
|
||||
'type': 'text',
|
||||
'default': '',
|
||||
'default': [],
|
||||
'label': _('Script'),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,6 +34,7 @@ class WebMethod(TextChoices):
|
|||
Protocol.clickhouse: [cls.web_cli],
|
||||
|
||||
Protocol.k8s: [cls.web_cli],
|
||||
Protocol.chatgpt: [cls.web_gui],
|
||||
Protocol.http: []
|
||||
}
|
||||
if not settings.XPACK_ENABLED:
|
||||
|
|
Loading…
Reference in New Issue