kopia lustrzana https://github.com/bugout-dev/moonstream
ipc to jsonrpc path changed
rodzic
7d529afb4f
commit
852cff34b3
|
@ -45,7 +45,7 @@ func lbHandler(w http.ResponseWriter, r *http.Request) {
|
|||
r.URL.Path = "/ping"
|
||||
peer.StatusReverseProxy.ServeHTTP(w, r)
|
||||
return
|
||||
case strings.HasPrefix(r.URL.Path, fmt.Sprintf("/nb/%s/ipc", blockchain)):
|
||||
case strings.HasPrefix(r.URL.Path, fmt.Sprintf("/nb/%s/jsonrpc", blockchain)):
|
||||
r.URL.Path = "/"
|
||||
peer.GethReverseProxy.ServeHTTP(w, r)
|
||||
return
|
||||
|
|
Ładowanie…
Reference in New Issue