updates go dependencies, refactors config loading precedence, adds gRPC gateway path stripping option, and improves HTTP handler setup.
This commit is contained in:
@@ -38,7 +38,7 @@ func (a *App) runGRPC(ctx context.Context) {
|
||||
|
||||
a.HTTP.Handlers = append(a.HTTP.Handlers, optshttp.HTTPHandler{
|
||||
Prefix: a.cfg.GRPC.GRPCGatewayPath,
|
||||
StripPrefix: true,
|
||||
StripPrefix: a.cfg.GRPC.GRPCGatewayPathStrip,
|
||||
Handler: a.GRPC.GetGatewayMux(),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user