Skip to content

Commit

Permalink
fix: Daemon spawning throws error with the new multiaddr version
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos authored and daviddias committed May 6, 2018
1 parent 2ea58e0 commit a0d2e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ipfsd-daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class Daemon {
output += String(data)

const apiMatch = output.trim().match(/API (?:server|is) listening on[:]? (.*)/)
const gwMatch = output.trim().match(/Gateway (?:.*) listening on[:]?(.*)/)
const gwMatch = output.trim().match(/Gateway (?:.*) listening on[:]? (.*)/)

if (apiMatch && apiMatch.length > 0) {
setApiAddr(apiMatch[1])
Expand Down

0 comments on commit a0d2e37

Please sign in to comment.