mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 21:42:24 +00:00
Update config.go
This commit is contained in:
parent
5cdcdb11aa
commit
cc327f4be3
1 changed files with 1 additions and 3 deletions
|
@ -55,9 +55,7 @@ func GetBinFolderPath() string {
|
||||||
|
|
||||||
func GetDBFolderPath() string {
|
func GetDBFolderPath() string {
|
||||||
dbFolderPath := os.Getenv("XUI_DB_FOLDER")
|
dbFolderPath := os.Getenv("XUI_DB_FOLDER")
|
||||||
if dbFolderPath == "" {
|
dbFolderPath = "/etc/3x-ui"
|
||||||
dbFolderPath = "/etc/x-ui"
|
|
||||||
}
|
|
||||||
return dbFolderPath
|
return dbFolderPath
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue