fix: malformed selfConnectionUri

This commit is contained in:
Derrick Hammer 2024-01-12 15:10:24 -05:00
parent f38c02adb9
commit 36f087dc83
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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))
}