diff --git a/llarp/context.cpp b/llarp/context.cpp index 782c384e0..08caf0b66 100644 --- a/llarp/context.cpp +++ b/llarp/context.cpp @@ -215,7 +215,8 @@ namespace llarp { config = std::make_unique(); configfile = fname; - return Configure(isRelay, {}); + const fs::path filepath(fname); + return Configure(isRelay, filepath.parent_path()); } #ifdef LOKINET_HIVE