feat: require PathDB config in appsettings.json
This commit is contained in:
@@ -1601,7 +1601,7 @@ namespace URLNotesGrabberCORE
|
||||
|
||||
public static void Initialize(IConfiguration config, string? dbPath, string configFilePath, string? overrideSection = null)
|
||||
{
|
||||
_dbPath = dbPath ?? "..\\..\\..\\tl.db";
|
||||
_dbPath = dbPath ?? throw new ArgumentNullException(nameof(dbPath));
|
||||
_configFilePath = configFilePath;
|
||||
EnsureStateTableExists();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user