mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-07 02:38:50 +01:00
feat: add conf for data folder, default current folder (not ./data anymore)
This commit is contained in:
parent
828dc8f0f4
commit
f9db80c409
6 changed files with 16 additions and 8 deletions
|
|
@ -31,7 +31,7 @@ func New() model.DataStore {
|
|||
if dbPath == ":memory:" {
|
||||
dbPath = "file::memory:?cache=shared"
|
||||
}
|
||||
log.Debug("Opening DB from: "+dbPath, "driver", driver)
|
||||
log.Debug("Opening DataBase", "dbPath", dbPath, "driver", driver)
|
||||
|
||||
err := initORM(dbPath)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue