Commit 7c57f901 authored by nanahira's avatar nanahira

larger..

parent 4bb01810
Pipeline #4874 passed with stages
in 2 minutes and 10 seconds
......@@ -3,6 +3,7 @@ import { DocumentBuilder, SwaggerModule } from '@nestjs/swagger';
import { NestExpressApplication } from '@nestjs/platform-express';
import { AppModule } from './app.module';
import mustacheExpress from 'mustache-express';
import bodyParser from 'body-parser';
import path from 'path';
async function bootstrap() {
......@@ -26,6 +27,15 @@ async function bootstrap() {
const document = SwaggerModule.createDocument(app, documentConfig);
SwaggerModule.setup('docs', app, document);
app.use(bodyParser.json({ limit: '10gb' }));
app.use(
bodyParser.urlencoded({
limit: '10gb',
extended: true,
parameterLimit: 100000,
})
);
await app.listen(3000);
}
bootstrap();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment