Fix the sqlite folder bug2.

This commit is contained in:
lishuang
2022-03-20 17:24:57 +08:00
parent ab6749056a
commit 274b49d66f

View File

@ -198,7 +198,7 @@ func (this *TankConfig) SqliteFolder() string {
if this.sqliteFolder == "" { if this.sqliteFolder == "" {
//use default file location. //use default file location.
if this.item == nil || this.item.SqliteFolder == "" { if this.item == nil || this.item.SqliteFolder == "" {
this.sqliteFolder = util.GetHomePath() + "/conf" this.sqliteFolder = util.GetHomePath() + "/matter"
} else { } else {
this.sqliteFolder = util.UniformPath(this.item.SqliteFolder) this.sqliteFolder = util.UniformPath(this.item.SqliteFolder)
} }