|
|
|
@ -39,8 +39,8 @@ async function bootstrap() {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
credentials: true,
|
|
|
|
credentials: true,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
app.use(json({ limit: '50mb' }));
|
|
|
|
app.use(json({ limit: '100mb' }));
|
|
|
|
app.use(urlencoded({ extended: true, limit: '50mb' }));
|
|
|
|
app.use(urlencoded({ extended: true, limit: '100mb' }));
|
|
|
|
// app.useGlobalFilters(new HttpExceptionFilter());
|
|
|
|
// app.useGlobalFilters(new HttpExceptionFilter());
|
|
|
|
app.useGlobalInterceptors(new LoggingInterceptor());
|
|
|
|
app.useGlobalInterceptors(new LoggingInterceptor());
|
|
|
|
if (process.env.DOC === 'true') {
|
|
|
|
if (process.env.DOC === 'true') {
|
|
|
|
|