Merge pull request #8 from Kraken-OffSec/fixed-local-db-output-file-location

Fixed error where the local db instance would be written to crowsnest…
This commit is contained in:
KrakenTech
2025-06-03 18:10:18 -04:00
committed by GitHub
+1 -1
View File
@@ -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