mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-18 13:29:03 +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")
|
ssl := getSettingByKey(db, "SSL")
|
||||||
entrance := getSettingByKey(db, "SecurityEntrance")
|
entrance := getSettingByKey(db, "SecurityEntrance")
|
||||||
address := getSettingByKey(agentDB, "SystemIP")
|
address := getSettingByKey(agentDB, "SystemIP")
|
||||||
|
domain := getSettingByKey(db, "BindDomain")
|
||||||
|
if len(domain) != 0 {
|
||||||
|
address = domain
|
||||||
|
}
|
||||||
|
|
||||||
protocol := "http"
|
protocol := "http"
|
||||||
if ssl == constant.StatusEnable {
|
if ssl == constant.StatusEnable {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue