update bodyLimit
This commit is contained in:
@@ -50,6 +50,7 @@ const startServer = async () => {
|
|||||||
try {
|
try {
|
||||||
const fastify = Fastify({
|
const fastify = Fastify({
|
||||||
maxParamLength: 15_000,
|
maxParamLength: 15_000,
|
||||||
|
bodyLimit: 1048576 * 500, // 500MB
|
||||||
});
|
});
|
||||||
|
|
||||||
await fastify.register(metricsPlugin, { endpoint: '/metrics' });
|
await fastify.register(metricsPlugin, { endpoint: '/metrics' });
|
||||||
|
|||||||
Reference in New Issue
Block a user