2025-07-01 13:32:55: merge [main:6491e79afd06cd665731c89f8ab2cd373351c1b4];

This commit is contained in:
txix committed 2025-07-01 13:32:55 +03:00
1 parent f699aefa58
commit 264b438cdb
12 files changed
+161 -94

No files matched your search

+3 -3
View File
@@ -120,14 +120,14 @@ func (l Locator) Handler(config conf.Remote, locations []conf.Location, redisCli
)
}
entrypoint := middleware.Entrypoint(
config.Http.MaxRequestBodySizeInMb*1024*1024, //nolint:mnd,gomnd
config.Http.MaxRequestBodySizeInMb*1024*1024, //nolint:mnd
handler,
l.logger,
middleware.EntryPointConfig{
WithPrefix: location.WithPrefix,
PathPrefix: location.PathPrefix,
IsGrpcPath: location.Protocol == "grpc",
},
l.routes,
l.logger,
)
mux.PathPrefix(location.PathPrefix).Handler(entrypoint)
}