fix: layout CSS en Cloudflare/Hostinger + sesiones en PostgreSQL 1 año

This commit is contained in:
Lizandro Guarnizo
2026-05-01 11:44:35 -05:00
parent 1731855df8
commit 1c27cdfaf1
5 changed files with 34 additions and 39 deletions
+5 -2
View File
@@ -11,10 +11,13 @@ import (
// CloudflareConfigPage renderiza la vista de gestión de Cloudflare.
func CloudflareConfigPage(c *fiber.Ctx) error {
cfg, _ := models.GetCloudflareConfig()
return c.Render("cloudflare", fiber.Map{
if err := c.Render("cloudflare", fiber.Map{
"Title": "Cloudflare API",
"Config": cfg,
})
}, "layouts/main"); err != nil {
return c.SendStatus(fiber.StatusInternalServerError)
}
return nil
}
// SaveCloudflareConfig guarda o actualiza el API token de Cloudflare.