Fixed error where the local db instance would be written to crowsnest.sql/crowsnest.sql
This commit is contained in:
1 parent
84f3becdf2
commit
e167a10fcc
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user