ongeki: add option to use https for red and beyond

This commit is contained in:
2023-11-08 21:42:53 -05:00
parent cb8eaae2c0
commit 94c326a27d
3 changed files with 17 additions and 7 deletions

View File

@ -21,6 +21,12 @@ class OngekiServerConfig:
self.__config, "ongeki", "server", "loglevel", default="info"
)
)
@property
def use_https(self) -> bool:
return CoreConfig.get_config_field(
self.__config, "ongeki", "server", "use_https", default=False
)
class OngekiGachaConfig: