Skip to content

Commit

Permalink
remove websockets network
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Jun 27, 2023
1 parent 5b7ec22 commit 245c642
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ipfs/container-init.d/002-set-udp-only.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ set -euxo pipefail

# https://github.com/ipfs/kubo/issues/3320#issuecomment-1321103079
ipfs config --bool Swarm.Transports.Network.TCP false
# https://github.com/ipfs/kubo/issues/9998
ipfs config -json Swarm.Transports.Network.Websocket false
# https://github.com/ipfs/kubo/blob/master/docs/config.md#addressesswarm
ipfs config --json Addresses.Swarm '["/ip4/0.0.0.0/udp/4001/quic","/ip4/0.0.0.0/udp/4001/quic-v1","/ip4/0.0.0.0/udp/4001/quic-v1/webtransport","/ip6/::/udp/4001/quic","/ip6/::/udp/4001/quic-v1","/ip6/::/udp/4001/quic-v1/webtransport"]'

0 comments on commit 245c642

Please sign in to comment.