fix: typo

This commit is contained in:
Derrick Hammer 2024-01-10 09:53:45 -05:00
parent bc9e5f187c
commit f9a0bd863c
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("wws://%s/%d", node.Config().HTTP.API.Domain, node.Config().HTTP.API.Port))
uri, err := url.Parse(fmt.Sprintf("wss://%s/%d", 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))
}