mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-18 00:08:31 +00:00
perf: 修改 protocols 默认值
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user