Update config.go

This commit is contained in:
Hossein Fakharzadeh 2023-04-18 11:53:54 +03:30 committed by GitHub
parent 5cdcdb11aa
commit cc327f4be3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}