обновОЧКИ

This commit is contained in:
2026-05-29 04:28:09 +06:00
parent 3c885edc46
commit 0dd9efb9fb
15 changed files with 542 additions and 44 deletions

View File

@@ -105,7 +105,12 @@ fastify.register(FastifyCors, {
})
fastify.register(FastifyCookie)
fastify.register(FastifyMultipart)
fastify.register(FastifyMultipart, {
limits: {
files: 10,
fileSize: 500 * 1024 * 1024,
},
})
fastify.register(FastifyAutoLoad, {
dir: join(__dirname, 'plugins'),