Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Up max file size on multipart (Phasing version out soon)
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinrouillard committed May 21, 2024
1 parent 9d3d845 commit 07d7551
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ import { routes } from './routes.js';

const server = fastify();

server.register(fastifyMultipart);
server.register(fastifyMultipart, {
limits: {
fileSize: 10 * 1024 * 1024
}
});
server.register(routes, { prefix: '/v1' });

server.get('/health', (req, reply) => {
Expand Down

0 comments on commit 07d7551

Please sign in to comment.