fix: 修复koko setting (#8005)

Co-authored-by: feng626 <1304903146@qq.com>
pull/8007/head
fit2bot 3 years ago committed by GitHub
parent e7af037513
commit c58d245636
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -39,8 +39,12 @@ class TerminalSettingSerializer(serializers.Serializer):
)
XRDP_ENABLED = serializers.BooleanField(label=_("Enable XRDP"))
TERMINAL_KOKO_HOST = serializers.BooleanField(label=_("Koko host"))
TERMINAL_KOKO_SSH_PORT = serializers.BooleanField(label=_("Koko ssh port"))
TERMINAL_KOKO_HOST = serializers.CharField(
required=False, label=_("Koko host"), max_length=1024
)
TERMINAL_KOKO_SSH_PORT = serializers.CharField(
required=False, label=_("Koko ssh port"), max_length=1024
)
TERMINAL_MAGNUS_ENABLED = serializers.BooleanField(label=_("Enable database proxy"))
TERMINAL_MAGNUS_HOST = serializers.CharField(
@ -59,4 +63,3 @@ class TerminalSettingSerializer(serializers.Serializer):
required=False, label=_("PostgreSQL port"), default=54320,
help_text=_('PostgreSQL protocol listen port')
)

Loading…
Cancel
Save