default db location
This commit is contained in:
@@ -59,7 +59,7 @@ func GetBinFolderPath() string {
|
|||||||
func GetDBFolderPath() string {
|
func GetDBFolderPath() string {
|
||||||
dbFolderPath := os.Getenv("SUI_DB_FOLDER")
|
dbFolderPath := os.Getenv("SUI_DB_FOLDER")
|
||||||
if dbFolderPath == "" {
|
if dbFolderPath == "" {
|
||||||
dbFolderPath = "db"
|
dbFolderPath = "/usr/local/s-ui/db"
|
||||||
}
|
}
|
||||||
return dbFolderPath
|
return dbFolderPath
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user