From b061df7f7d7451f4f9850e8f970bac3f9f6a13aa Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Sat, 13 Dec 2025 14:15:06 +0000 Subject: [PATCH] Use new fastify router options --- apps/server/src/main.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/server/src/main.ts b/apps/server/src/main.ts index 8a271930..79340d6e 100644 --- a/apps/server/src/main.ts +++ b/apps/server/src/main.ts @@ -15,10 +15,12 @@ async function bootstrap() { const app = await NestFactory.create( AppModule, new FastifyAdapter({ - ignoreTrailingSlash: true, - ignoreDuplicateSlashes: true, - maxParamLength: 1000, trustProxy: true, + routerOptions: { + maxParamLength: 1000, + ignoreTrailingSlash: true, + ignoreDuplicateSlashes: true, + }, }), { rawBody: true,