chu&mai2: add option to use https

This commit is contained in:
2025-06-14 05:05:19 +08:00
parent 3a8a67cee2
commit 592e6961e8
6 changed files with 54 additions and 9 deletions

View File

@ -25,6 +25,12 @@ class ChuniServerConfig:
return CoreConfig.get_config_field(
self.__config, "chuni", "server", "news_msg", default=""
)
@property
def use_https(self) -> bool:
return CoreConfig.get_config_field(
self.__config, "chuni", "server", "use_https", default=False
)
class ChuniTeamConfig: