From 2d05389f54c45e78882afcd91c4a97ef2dd1e650 Mon Sep 17 00:00:00 2001 From: stae1102 Date: Sun, 12 Jan 2025 16:17:00 +0900 Subject: [PATCH] feat: change swagger condition --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 65561b3..b34b6ec 100644 --- a/src/main.ts +++ b/src/main.ts @@ -16,7 +16,7 @@ async function bootstrap() { app.useGlobalPipes(new ValidationPipe()); app.setGlobalPrefix('api'); - if (process.env.NODE_ENV === 'dev' || process.env.NODE_ENV === 'local') { + if (process.env.NODE_ENV !== 'prod') { const config = new DocumentBuilder() .setTitle('Quickchive') .setDescription('The API description')