Skip to content

Commit

Permalink
ouput db path
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticroentgen committed Sep 13, 2024
1 parent 67c81c4 commit 9f12de0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sherlog.Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public class LogbookContext
public LogbookContext()
{
DbPath = Path.Combine(Environment.GetEnvironmentVariable("DB_PATH") ?? ".","sherlog.db");
Console.WriteLine($"DB file path: {DbPath}");
}

protected override void OnConfiguring(DbContextOptionsBuilder options)
Expand Down

0 comments on commit 9f12de0

Please sign in to comment.