Skip to content

Commit

Permalink
feat: extends file limit to 3MB
Browse files Browse the repository at this point in the history
  • Loading branch information
Seung-o committed Jan 20, 2024
1 parent c4441f6 commit d63bab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async function bootstrap() {
credentials: true,
exposedHeaders: ['accesstoken', 'refreshtoken', 'Content-Disposition'],
});
app.use('/graphql', graphqlUploadExpress({ maxFileSize: 1000000, maxFiles: 10 }));
app.use('/graphql', graphqlUploadExpress({ maxFileSize: 3000000, maxFiles: 10 }));

await app.use(helmet({ contentSecurityPolicy: isProductEnv() })).listen(process.env.PORT);
console.log(`Application is running on: ${await app.getUrl()}`);
Expand Down

0 comments on commit d63bab2

Please sign in to comment.