security: add request body size limits (1MB global, 10KB auth)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -35,6 +35,7 @@ const app = Fastify({
|
||||
level: config.isProduction ? 'warn' : 'info',
|
||||
},
|
||||
trustProxy: true,
|
||||
bodyLimit: 1048576,
|
||||
});
|
||||
|
||||
async function start() {
|
||||
|
||||
Reference in New Issue
Block a user