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