feat: implementacion de dashboards por rol, soporte de clases virtuales concurrentes en importador de sheets y cartelera del dia

This commit is contained in:
2026-09-18 23:04:48 -03:00
parent 47b50ede7e
commit 1080acd43a
240 changed files with 8354 additions and 8886 deletions
+15
View File
@@ -0,0 +1,15 @@
const axios = require('axios');
// Configuración base de Axios conectando hacia Flask
const apiClient = axios.create({
baseURL: process.env.FLASK_API_URL || 'http://localhost:5000/api/v1',
timeout: 5000,
headers: {
'Content-Type': 'application/json'
}
});
// Nota: El interceptor para inyectar el Bearer token se configurará en los middlewares o controladores
// donde tengamos acceso al objeto `req` de Express para leer la cookie.
module.exports = apiClient;