default db location

This commit is contained in:
Alireza Ahmadi
2024-03-01 14:36:26 +01:00
parent 00ee69e541
commit 944f671d96
+1 -1
View File
@@ -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
} }