mirror of
https://github.com/nickname76/p2p-forwarder.git
synced 2024-05-03 11:04:55 +08:00
Update forwarder.go
This commit is contained in:
parent
a52ffaee0c
commit
0c53dd690a
@ -165,6 +165,9 @@ func createLibp2pHost(ctx context.Context, priv crypto.PrivKey) (host.Host, erro
|
||||
|
||||
"/ip4/0.0.0.0/tcp/0",
|
||||
"/ip6/::/tcp/0",
|
||||
|
||||
"/ip4/0.0.0.0/tcp/0/ws",
|
||||
"/ip6/::/tcp/0/ws",
|
||||
),
|
||||
|
||||
libp2p.Transport(libp2pquic.NewTransport),
|
||||
|
Loading…
Reference in New Issue
Block a user