Add binary handler to http
This commit is contained in:
@@ -183,7 +183,7 @@ func ActionServe(c *cli.Context) error {
|
||||
if c.IsSet("http-addr") {
|
||||
httpAddr = c.String("http-addr")
|
||||
}
|
||||
httpServer := server.NewHTTPSever(s, srvCertBytes, cfg.Server.GRPCEndpoint)
|
||||
httpServer := server.NewHTTPSever(s, binaryStore, srvCertBytes, cfg.Server.GRPCEndpoint)
|
||||
httpServer.Logger = httpLogger
|
||||
httpServer.Addr = httpAddr
|
||||
|
||||
|
Reference in New Issue
Block a user