mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-05-02 21:28:49 +00:00
Merge pull request #8 from serogaq/hotfix/envKeyName
hotfix / env key name
This commit is contained in:
commit
ba1aad1c20
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ func (a *SUBController) subs(c *gin.Context) {
|
|||
profileTitle = subId
|
||||
}
|
||||
var supportUrl string
|
||||
supportUrl = os.Getenv("XUI_SUB_PROFILE_TITLE")
|
||||
supportUrl = os.Getenv("XUI_SUB_SUPPORT_URL")
|
||||
if supportUrl == "" {
|
||||
supportUrl = os.Getenv("XUI_SUB_DOMAIN")
|
||||
}
|
||||
|
@ -144,7 +144,7 @@ func (a *SUBController) subJsons(c *gin.Context) {
|
|||
profileTitle = subId
|
||||
}
|
||||
var supportUrl string
|
||||
supportUrl = os.Getenv("XUI_SUB_PROFILE_TITLE")
|
||||
supportUrl = os.Getenv("XUI_SUB_SUPPORT_URL")
|
||||
if supportUrl == "" {
|
||||
supportUrl = os.Getenv("XUI_SUB_DOMAIN")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue