Skip to content

Commit 517cc5b

Browse files
cleanup
1 parent 032c493 commit 517cc5b

File tree

1 file changed

+0
-7
lines changed
  • apps/pdf-analyzer-service/src

1 file changed

+0
-7
lines changed

apps/pdf-analyzer-service/src/app.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@ const app = express();
1010
app.use(express.json());
1111

1212
const openapiDoc = loadOpenApi();
13-
// // Normalize '/docs' to '/docs/' to prevent absolute redirect that would drop ingress prefix
14-
// app.use((req, _res, next) => {
15-
// if (req.path === '/docs') {
16-
// req.url = '/docs/';
17-
// }
18-
// next();
19-
// });
2013
app.use('/docs', swaggerUi.serve, swaggerUi.setup(openapiDoc));
2114

2215
registerRoutes(app);

0 commit comments

Comments
 (0)