2025-07-01 13:32:55: merge [main:6491e79afd06cd665731c89f8ab2cd373351c1b4];
This commit is contained in:
1 parent
f699aefa58
commit
264b438cdb
12 files changed
+161
-94
No files matched your search
+3
-3
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user