We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 032c493 commit 517cc5bCopy full SHA for 517cc5b
apps/pdf-analyzer-service/src/app.ts
@@ -10,13 +10,6 @@ const app = express();
10
app.use(express.json());
11
12
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
-// });
20
app.use('/docs', swaggerUi.serve, swaggerUi.setup(openapiDoc));
21
22
registerRoutes(app);
0 commit comments