From c3736f40fe571b7121cbcf0ee93358d50035b3cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Tue, 6 Apr 2021 12:29:11 +0200 Subject: [PATCH] gateway: use correct path in serveRpc --- cmd/lotus-gateway/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lotus-gateway/main.go b/cmd/lotus-gateway/main.go index 054689690..698eefb9a 100644 --- a/cmd/lotus-gateway/main.go +++ b/cmd/lotus-gateway/main.go @@ -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))