diff --git a/projects/backend/src/index.ts b/projects/backend/src/index.ts index c5df137..1417faf 100644 --- a/projects/backend/src/index.ts +++ b/projects/backend/src/index.ts @@ -161,7 +161,11 @@ app.use( /** * Swagger Documentation */ -app.use(swagger()); +app.use( + swagger({ + path: isProduction() ? "/api/swagger" : "/swagger", + }) +); app.onStart(() => { console.log("Listening on port http://localhost:8080");