Nuevos graficos

This commit is contained in:
kvilches1410
2026-04-04 00:35:55 -03:00
parent a2d49b441e
commit c8806a6701
5 changed files with 316 additions and 395 deletions
+36
View File
@@ -0,0 +1,36 @@
# Configuración de Netlify para Dashboard JIRA
[build]
# Comando para compilar el proyecto (si usas un build tool)
# command = "npm run build"
# publish = "dist"
# Si NO tienes build tool, comenta lo anterior
# Redireccionar /api/* a las funciones Netlify
[[redirects]]
from = "/api/*"
to = "/.netlify/functions/:splat"
status = 200
# Redireccionar todas las demás rutas a index.html (SPA)
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
# Configuración de funciones Netlify
[functions]
# Ruta donde están las funciones
directory = "netlify/functions"
# Bundler para Node.js
node_bundler = "esbuild"
# Headers para CORS y cache
[[headers]]
for = "/.netlify/functions/*"
[headers.values]
Access-Control-Allow-Origin = "*"
Access-Control-Allow-Methods = "GET, POST, OPTIONS"
Access-Control-Allow-Headers = "Content-Type"
Cache-Control = "s-maxage=3600, stale-while-revalidate=86400"