From aead16d9503c54bbada303dbf8306c7066751381 Mon Sep 17 00:00:00 2001 From: Tom Winter Date: Thu, 8 Feb 2024 08:30:33 +0100 Subject: [PATCH] fix: set global prefix --- src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.ts b/src/main.ts index 0eb0c92..0e8e19e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -4,6 +4,7 @@ import { SentryService } from '@ntegral/nestjs-sentry'; async function bootstrap() { const app = await NestFactory.create(AppModule); + app.setGlobalPrefix('query'); // // SwaggerUI setup see https://docs.nestjs.com/openapi/introduction#bootstrap // const config = new DocumentBuilder()