From cc327f4be337c0d25ee30a2403af801166f9b771 Mon Sep 17 00:00:00 2001 From: Hossein Fakharzadeh <88323819+FakharzadehH@users.noreply.github.com> Date: Tue, 18 Apr 2023 11:53:54 +0330 Subject: [PATCH] Update config.go --- config/config.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 }