mirror of
https://github.com/GNS3/gns3-server
synced 2025-02-05 12:51:39 +00:00
Fix config parsing when configuring server protocol. Fixes https://github.com/GNS3/gns3-gui/issues/3681
This commit is contained in:
parent
a521e61efc
commit
efc3ff62b5
@ -147,7 +147,7 @@ class ServerSettings(BaseModel):
|
|||||||
allow_remote_console: bool = False
|
allow_remote_console: bool = False
|
||||||
enable_builtin_templates: bool = True
|
enable_builtin_templates: bool = True
|
||||||
install_builtin_appliances: bool = True
|
install_builtin_appliances: bool = True
|
||||||
model_config = ConfigDict(validate_assignment=True, str_strip_whitespace=True, use_enum_values=True)
|
model_config = ConfigDict(validate_assignment=True, str_strip_whitespace=True)
|
||||||
|
|
||||||
@field_validator("additional_images_paths", mode="before")
|
@field_validator("additional_images_paths", mode="before")
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user