Fixed error where the local db instance would be written to crowsnest.sql/crowsnest.sql

This commit is contained in:
Evan Hosinski
2025-06-03 18:08:57 -04:00
parent 84f3becdf2
commit e167a10fcc
+1 -1
View File
@@ -82,7 +82,7 @@ func main() {
useLocalDB := badger.GetUseLocalDB() useLocalDB := badger.GetUseLocalDB()
if useLocalDB { if useLocalDB {
// Use local database in current directory // Use local database in current directory
dbPath = "./crowsnest.sqlite" dbPath = "./"
zap.L().Info("Using local database", zap.String("path", dbPath)) zap.L().Info("Using local database", zap.String("path", dbPath))
} else { } else {
// Use default database path // Use default database path