forked from Hay1tsme/artemis
allnet: add ip check config option
This commit is contained in:
parent
fd6cadf2da
commit
2e8d99e5fa
@ -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(
|
||||
|
@ -34,6 +34,7 @@ frontend:
|
||||
allnet:
|
||||
loglevel: "info"
|
||||
port: 80
|
||||
ip_check: False
|
||||
allow_online_updates: False
|
||||
update_cfg_folder: ""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user