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))