gateway: use correct path in serveRpc

This commit is contained in:
Łukasz Magiera 2021-04-06 12:29:11 +02:00
parent e8f28d7b9f
commit c3736f40fe

View File

@ -104,7 +104,7 @@ var runCmd = &cli.Command{
rpcServer := jsonrpc.NewServer(serverOptions...)
rpcServer.Register("Filecoin", hnd)
mux.Handle("/rpc/v1", rpcServer)
mux.Handle(path, rpcServer)
}
ma := metrics.MetricedGatewayAPI(NewGatewayAPI(api))