feat: require PathDB config in appsettings.json

This commit is contained in:
jim committed 2026-05-08 16:24:43 -05:00
1 parent b68a9833d8
commit acc5e885a8
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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();