mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-13 10:04:42 +08:00
parent
1d76e54b0d
commit
18462296ae
1 changed files with 4 additions and 0 deletions
|
@ -44,6 +44,10 @@ var userinfoCmd = &cobra.Command{
|
|||
ssl := getSettingByKey(db, "SSL")
|
||||
entrance := getSettingByKey(db, "SecurityEntrance")
|
||||
address := getSettingByKey(agentDB, "SystemIP")
|
||||
domain := getSettingByKey(db, "BindDomain")
|
||||
if len(domain) != 0 {
|
||||
address = domain
|
||||
}
|
||||
|
||||
protocol := "http"
|
||||
if ssl == constant.StatusEnable {
|
||||
|
|
Loading…
Add table
Reference in a new issue