configurable sessions dir, exclude jsonl-sync from build, simplify db path
This commit is contained in:
1 parent
2e5e06db93
commit
807ecac7b9
3 files changed
+5
-2
No files matched your search
+1
-1
@@ -8,7 +8,7 @@ builder.Configuration.AddJsonFile("appsettings.user.json", optional: true, reloa
|
||||
var dbPath = builder.Configuration["DbPath"]!;
|
||||
|
||||
builder.Services.AddSingleton<Func<SqliteConnection>>(() =>
|
||||
new SqliteConnection($"Data Source={Path.GetFullPath(dbPath)}"));
|
||||
new SqliteConnection($"Data Source={dbPath}"));
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
|
||||
Reference in new issue
Block a user