diff --git a/config/config.go b/config/config.go index e3fe1709..0c74d481 100644 --- a/config/config.go +++ b/config/config.go @@ -55,9 +55,7 @@ func GetBinFolderPath() string { func GetDBFolderPath() string { dbFolderPath := os.Getenv("XUI_DB_FOLDER") - if dbFolderPath == "" { - dbFolderPath = "/etc/x-ui" - } + dbFolderPath = "/etc/3x-ui" return dbFolderPath }