Skip to content

Commit

Permalink
fix: dialog when IPFS_PATH/api port is offline
Browse files Browse the repository at this point in the history
Invalid type caused dialog to not show up.
  • Loading branch information
lidel committed Feb 8, 2022
1 parent 50c31bb commit 13de174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/daemon/daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ module.exports = async function (opts) {
}

if (!configExists(ipfsd)) {
cannotConnectDialog(ipfsd.apiAddr)
cannotConnectDialog(ipfsd.apiAddr.toString())
throw err
}

Expand Down

0 comments on commit 13de174

Please sign in to comment.