sao: fix https

This commit is contained in:
2023-12-10 18:35:59 -05:00
parent 283cf41bce
commit 5491266a85
2 changed files with 19 additions and 7 deletions

View File

@ -29,6 +29,12 @@ class SaoServerConfig:
self.__config, "sao", "server", "auto_register", default=True
)
@property
def use_https(self) -> bool:
return CoreConfig.get_config_field(
self.__config, "sao", "server", "use_https", default=False
)
class SaoCryptConfig:
def __init__(self, parent_config: "SaoConfig"):
self.__config = parent_config