1
0
mirror of synced 2024-11-27 23:40:48 +01:00

allnet: add ip check config option

This commit is contained in:
Kevin Trocolli 2023-08-20 23:25:50 -04:00
parent fd6cadf2da
commit 2e8d99e5fa
2 changed files with 7 additions and 0 deletions

View File

@ -200,6 +200,12 @@ class AllnetConfig:
self.__config, "core", "allnet", "port", default=80
)
@property
def ip_check(self) -> bool:
return CoreConfig.get_config_field(
self.__config, "core", "allnet", "ip_check", default=False
)
@property
def allow_online_updates(self) -> int:
return CoreConfig.get_config_field(

View File

@ -34,6 +34,7 @@ frontend:
allnet:
loglevel: "info"
port: 80
ip_check: False
allow_online_updates: False
update_cfg_folder: ""