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