We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66ffe32 commit 002b6b9Copy full SHA for 002b6b9
cmd/ipfs/daemon.go
@@ -300,12 +300,6 @@ func daemonFunc(req cmds.Request, res cmds.Response) {
300
apiMaddr = apiLis.Multiaddr()
301
fmt.Printf("API server listening on %s\n", apiMaddr)
302
303
- // TODO: dont persist in config - write to lock file..
304
- if err := node.Repo.SetConfigKey("Addresses.API", apiMaddr.String()); err != nil {
305
- res.SetError(err, cmds.ErrNormal)
306
- return
307
- }
308
-
309
apiGw := corehttp.NewGateway(corehttp.GatewayConfig{
310
Writable: true,
311
BlockList: &corehttp.BlockList{
0 commit comments