mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-02 23:16:51 +00:00
engine/gRPC proxy: Fix mux regression and add test coverage (#1456)
* engine/gRPC proxy: Fix mux regression and enhance test coverage * Use a temp dir for TLS creds and add credentials test tables * Update GetRPCEndpoints grpcProxyName ListenAddr field * Log unauthorised access attempts
This commit is contained in:
@@ -107,7 +107,7 @@ func (bot *Engine) GetRPCEndpoints() (map[string]RPCEndpoint, error) {
|
||||
},
|
||||
grpcProxyName: {
|
||||
Started: bot.Settings.EnableGRPCProxy,
|
||||
ListenAddr: "http://" + bot.Config.RemoteControl.GRPC.GRPCProxyListenAddress,
|
||||
ListenAddr: "https://" + bot.Config.RemoteControl.GRPC.GRPCProxyListenAddress,
|
||||
},
|
||||
DeprecatedName: {
|
||||
Started: bot.Settings.EnableDeprecatedRPC,
|
||||
|
||||
Reference in New Issue
Block a user