small fixes and typos

This commit is contained in:
Alireza Ahmadi
2025-02-09 00:53:49 +01:00
parent ea6ceac2f2
commit 1c4a927e0d
7 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ func GetDBFolderPath() string {
if dbFolderPath == "" {
dir, err := filepath.Abs(filepath.Dir(os.Args[0]))
if err != nil {
dbFolderPath = "/usr/local/s-ui/db"
return "/usr/local/s-ui/db"
}
dbFolderPath = dir + "/db"
}