1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-30 01:52:26 +08:00

fix localNode call

This commit is contained in:
verokarhu
2014-09-18 00:28:06 +03:00
parent 4510977a4d
commit 600829b4e7

View File

@ -38,7 +38,12 @@ func serveHttpCmd(c *commander.Command, _ []string) error {
return errors.New("invalid port number")
}
n, err := localNode(true)
conf, err := getConfigDir(c.Parent.Parent)
if err != nil {
return err
}
n, err := localNode(conf, true)
if err != nil {
return err
}