mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-06 16:58:11 +08:00
daemon gateway async
This commit is contained in:
parent
b299c424da
commit
4afb4e090f
@ -152,7 +152,7 @@ func daemonFunc(req cmds.Request) (interface{}, error) {
|
||||
}
|
||||
|
||||
if gatewayMaddr != nil {
|
||||
listenAndServeGateway(node, gatewayMaddr)
|
||||
go listenAndServeGateway(node, gatewayMaddr)
|
||||
}
|
||||
|
||||
return nil, listenAndServeAPI(node, req, apiMaddr)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user