This commit is contained in:
crusader 2018-05-03 15:15:43 +09:00
parent e4955d0250
commit 4e686edc48

View File

@ -14,7 +14,7 @@ import (
func NewConnector(containerType occp.ContainerType, portNumber int) (*csswc.Connectors, error) {
u := url.URL{
Scheme: "ws",
Host: fmt.Sprintf("127.0.0.1:%d", port),
Host: fmt.Sprintf("127.0.0.1:%d", portNumber),
}
u.Path = path.Join(u.Path, occc.HTTPEntry_Container)