Skip to content

Commit

Permalink
style(): update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Jul 14, 2022
1 parent 5473531 commit 905216d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/swagger-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ export class SwaggerModule {
});

/**
* covers assets fetched via rel path when swagger url ends with '/'
* https://github.com/nestjs/swagger/issues/1976
* Covers assets fetched through a relative path when Swagger url ends with a slash '/'.
* @see https://github.com/nestjs/swagger/issues/1976
*/
httpAdapter.get(
`${finalPath}/${urlLastSubdirectory}/swagger-ui-init.js`,
Expand Down Expand Up @@ -148,8 +148,8 @@ export class SwaggerModule {

SwaggerModule.serveStatic(finalPath, app);
/**
* covers assets fetched via rel path when swagger url ends with '/'
* https://github.com/nestjs/swagger/issues/1976
* Covers assets fetched through a relative path when Swagger url ends with a slash '/'.
* @see https://github.com/nestjs/swagger/issues/1976
*/
SwaggerModule.serveStatic(`${finalPath}/${urlLastSubdirectory}`, app);
}
Expand Down

0 comments on commit 905216d

Please sign in to comment.