1
1
Fork 0
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:
Jeff Becker 2020-05-04 13:32:10 -04:00
parent f307c25d3e
commit c425355a6b
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -215,7 +215,8 @@ namespace llarp
{
config = std::make_unique<Config>();
configfile = fname;
return Configure(isRelay, {});
const fs::path filepath(fname);
return Configure(isRelay, filepath.parent_path());
}
#ifdef LOKINET_HIVE