Skip to content

Commit

Permalink
fix: uncomment uPnPNAT import to resolve undefined variable
Browse files Browse the repository at this point in the history
Co-Authored-By: Nico Krause <[email protected]>
  • Loading branch information
devin-ai-integration[bot] and silkroadnomad committed Dec 21, 2024
1 parent 9228313 commit e0f34e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions relay/src/libp2p-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import * as filters from '@libp2p/websockets/filters'
import { multiaddr } from '@multiformats/multiaddr'
import { circuitRelayTransport, circuitRelayServer } from '@libp2p/circuit-relay-v2'
import { kadDHT } from '@libp2p/kad-dht'
// import { uPnPNAT } from '@libp2p/upnp-nat'
import { uPnPNAT } from '@libp2p/upnp-nat'
import { prometheusMetrics } from '@libp2p/prometheus-metrics'
import { mdns } from '@libp2p/mdns'

Expand Down Expand Up @@ -109,4 +109,4 @@ export function createLibp2pConfig({ keyPair, datastore, listenAddresses, announ
denyDialMultiaddr: async () => false,
}
}
}
}

0 comments on commit e0f34e0

Please sign in to comment.