ing
This commit is contained in:
parent
e4955d0250
commit
4e686edc48
|
@ -14,7 +14,7 @@ import (
|
||||||
func NewConnector(containerType occp.ContainerType, portNumber int) (*csswc.Connectors, error) {
|
func NewConnector(containerType occp.ContainerType, portNumber int) (*csswc.Connectors, error) {
|
||||||
u := url.URL{
|
u := url.URL{
|
||||||
Scheme: "ws",
|
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)
|
u.Path = path.Join(u.Path, occc.HTTPEntry_Container)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user