ipc to jsonrpc path changed

pull/507/head
kompotkot 2021-12-21 19:16:27 +00:00
rodzic 7d529afb4f
commit 852cff34b3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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