Skip to content

Commit

Permalink
Merge pull request #375 from Quickchive/feat/change-swagger-condition
Browse files Browse the repository at this point in the history
feat: change swagger condition
  • Loading branch information
stae1102 authored Jan 12, 2025
2 parents 673220e + 2d05389 commit 34d46ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 34d46ec

Please sign in to comment.