fix: bug in the content type parser of fastify
This commit is contained in:
+9
-1
@@ -50,7 +50,15 @@ import { WalletsModule } from "./modules/wallets/wallets.module";
|
||||
CacheModule.registerAsync(cacheConfig()),
|
||||
TypeOrmModule.forRootAsync(databaseConfigs()),
|
||||
HttpModule.register({ global: true, timeout: 10000, headers: { "Content-Type": "application/json" } }),
|
||||
FastifyMulterModule,
|
||||
FastifyMulterModule.register({
|
||||
limits: {
|
||||
fileSize: 10 * 1024 * 1024,
|
||||
fieldNameSize: 200,
|
||||
fieldSize: 10 * 1024 * 1024,
|
||||
fields: 10,
|
||||
parts: 10,
|
||||
},
|
||||
}),
|
||||
AuthModule,
|
||||
UsersModule,
|
||||
TicketsModule,
|
||||
|
||||
Reference in New Issue
Block a user