обновОЧКИ
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user