mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
set data dir in in loadconfig too
This commit is contained in:
parent
f307c25d3e
commit
c425355a6b
|
@ -215,7 +215,8 @@ namespace llarp
|
||||||
{
|
{
|
||||||
config = std::make_unique<Config>();
|
config = std::make_unique<Config>();
|
||||||
configfile = fname;
|
configfile = fname;
|
||||||
return Configure(isRelay, {});
|
const fs::path filepath(fname);
|
||||||
|
return Configure(isRelay, filepath.parent_path());
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef LOKINET_HIVE
|
#ifdef LOKINET_HIVE
|
||||||
|
|
Loading…
Reference in a new issue