Skip to content

Commit

Permalink
build: default do swagger documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
0-vortex committed Oct 2, 2022
1 parent f5b6599 commit de371dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Expand Up @@ -62,7 +62,7 @@ async function bootstrap () {
console.log(e);
}

SwaggerModule.setup("docs", app, document, customOptions);
SwaggerModule.setup("/", app, document, customOptions);

await app.register(fastifyHelmet, { contentSecurityPolicy: false });
await app.register(fastifyRateLimit, {
Expand Down

0 comments on commit de371dc

Please sign in to comment.