updates go dependencies, refactors config loading precedence, adds gRPC gateway path stripping option, and improves HTTP handler setup.

This commit is contained in:
2025-12-23 13:51:55 -05:00
parent 7cc4e7831e
commit 70e99eef0e
6 changed files with 120 additions and 112 deletions

View File

@@ -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(),
})