Also allow setting of 'network' via gmhc_app:start/1
This commit is contained in:
parent
29fbfb3c87
commit
476bedfdac
@ -49,7 +49,7 @@ appl_env(extra_pubkeys , Ks, C) -> C#{<<"extra_pubkeys">> => Ks};
|
||||
appl_env(pool_admin_url, U , C) -> merge(C, #{<<"pool_admin">> => #{<<"url">> => U}});
|
||||
appl_env(workers , Ws, C) -> C#{<<"workers">> => Ws}.
|
||||
|
||||
env_keys() -> [pubkey, extra_pubkeys, pool_admin_url, workers].
|
||||
env_keys() -> [pubkey, extra_pubkeys, pool_admin_url, workers, network].
|
||||
|
||||
cpath([<<"pubkey">>]) -> [user_config ];
|
||||
cpath([<<"extra_pubkeys">>]) -> [user_config, schema_default];
|
||||
|
Loading…
x
Reference in New Issue
Block a user