mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08:00
fastify router options
This commit is contained in:
@@ -12,9 +12,11 @@ async function bootstrap() {
|
||||
const app = await NestFactory.create<NestFastifyApplication>(
|
||||
CollabAppModule,
|
||||
new FastifyAdapter({
|
||||
ignoreTrailingSlash: true,
|
||||
ignoreDuplicateSlashes: true,
|
||||
maxParamLength: 500,
|
||||
routerOptions: {
|
||||
maxParamLength: 1000,
|
||||
ignoreTrailingSlash: true,
|
||||
ignoreDuplicateSlashes: true,
|
||||
},
|
||||
}),
|
||||
{
|
||||
bufferLogs: true,
|
||||
|
||||
Reference in New Issue
Block a user