From e167a10fcc64bbe25062e1aa60f88383d8f45ccf Mon Sep 17 00:00:00 2001 From: Evan Hosinski Date: Tue, 3 Jun 2025 18:08:57 -0400 Subject: [PATCH] Fixed error where the local db instance would be written to crowsnest.sql/crowsnest.sql --- crowsnest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crowsnest.go b/crowsnest.go index 91b11b7..708a8ae 100644 --- a/crowsnest.go +++ b/crowsnest.go @@ -82,7 +82,7 @@ func main() { useLocalDB := badger.GetUseLocalDB() if useLocalDB { // Use local database in current directory - dbPath = "./crowsnest.sqlite" + dbPath = "./" zap.L().Info("Using local database", zap.String("path", dbPath)) } else { // Use default database path