mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-11-30 10:48:15 +08:00
[REV] allow return port=0
This commit is contained in:
parent
c985858b6f
commit
1f9df41790
@ -1426,7 +1426,7 @@ func (t *TenantStruct) PortOuterController(w http.ResponseWriter, r *http.Reques
|
||||
} else {
|
||||
rc["port"] = "10080"
|
||||
}
|
||||
} else if vsPort != nil && vsPort.Port != 0 {
|
||||
} else if vsPort != nil {
|
||||
rc["domain"] = mm[0]
|
||||
rc["port"] = fmt.Sprintf("%v", vsPort.Port)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user