implement grpc gateway and addl handler support
This commit is contained in:
@ -25,7 +25,7 @@ func (a *App) runGRPC(ctx context.Context) {
|
||||
}
|
||||
|
||||
a.HTTP.Handlers = append(a.HTTP.Handlers, opts.HTTPHandler{
|
||||
Prefix: GRPC_GW_API_PATH,
|
||||
Prefix: a.cfg.GRPC.GRPCGatewayPath,
|
||||
StripPrefix: true,
|
||||
Handler: a.GRPC.GetGatewayMux(),
|
||||
})
|
||||
|
Reference in New Issue
Block a user