We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d5ac58c + a5bc260 commit 6da7d4cCopy full SHA for 6da7d4c
1 file changed
pkg/api/api.go
@@ -73,6 +73,7 @@ func New(logger *zap.Logger, middlewareCollector metrics.HttpApiMetrics, provide
73
DisableStartupMessage: true,
74
JSONEncoder: json.Marshal,
75
JSONDecoder: json.Unmarshal,
76
+ BodyLimit: 12 * 1024 * 1024,
77
})
78
79
registerAt(app, "/metrics")
0 commit comments