mirror of
https://github.com/nickname76/p2p-forwarder.git
synced 2025-09-26 19:51:18 +08:00
Update forwarder.go
This commit is contained in:
@@ -165,6 +165,9 @@ func createLibp2pHost(ctx context.Context, priv crypto.PrivKey) (host.Host, erro
|
|||||||
|
|
||||||
"/ip4/0.0.0.0/tcp/0",
|
"/ip4/0.0.0.0/tcp/0",
|
||||||
"/ip6/::/tcp/0",
|
"/ip6/::/tcp/0",
|
||||||
|
|
||||||
|
"/ip4/0.0.0.0/tcp/0/ws",
|
||||||
|
"/ip6/::/tcp/0/ws",
|
||||||
),
|
),
|
||||||
|
|
||||||
libp2p.Transport(libp2pquic.NewTransport),
|
libp2p.Transport(libp2pquic.NewTransport),
|
||||||
|
Reference in New Issue
Block a user