@@ -20,7 +20,8 @@ app.use(cors());
|
||||
app.use(express.json());
|
||||
|
||||
// Swagger Documentation
|
||||
app.use('/api-docs', swaggerUi.serve, swaggerUi.setup(swaggerSpec));
|
||||
app.use('/api-docs', swaggerUi.serve);
|
||||
app.get('/api-docs', swaggerUi.setup(swaggerSpec));
|
||||
|
||||
// Health check
|
||||
app.get('/health', (req: Request, res: Response) => {
|
||||
|
||||
Referencia en una nueva incidencia
Block a user