Skip to content

Commit

Permalink
feat: 변경 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
zerosial committed Jan 5, 2024
1 parent 8aa0dd7 commit 1fb7104
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/configs/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const config: Config = {
title: 'Nestjs FTW',
description: 'The nestjs API description',
version: '1.5',
path: 'api',
path: 'docs',
},
graphql: {
playgroundEnabled: true,
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function bootstrap() {
.build();
const document = SwaggerModule.createDocument(app, options);

SwaggerModule.setup(swaggerConfig.path || 'docs', app, document);
SwaggerModule.setup(swaggerConfig.path || 'api', app, document);
}

// Cors
Expand Down

0 comments on commit 1fb7104

Please sign in to comment.