fix: malformed selfConnectionUri
This commit is contained in:
parent
f38c02adb9
commit
36f087dc83
|
@ -47,7 +47,7 @@ type P2PImpl struct {
|
|||
}
|
||||
|
||||
func NewP2P(node interfaces.Node) *P2PImpl {
|
||||
uri, err := url.Parse(fmt.Sprintf("wss://%s/%d", node.Config().HTTP.API.Domain, node.Config().HTTP.API.Port))
|
||||
uri, err := url.Parse(fmt.Sprintf("wss://%s:%d/s5/p2p", node.Config().HTTP.API.Domain, node.Config().HTTP.API.Port))
|
||||
if err != nil {
|
||||
node.Logger().Fatal("failed to HTTP API URL Config", zap.Error(err))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue