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 (
// HostingerConfigPage renderiza la vista de gestión de Hostinger.
func HostingerConfigPage(c *fiber.Ctx) error {
cfg, _ := models.GetHostingerConfig()
return c.Render("hostinger", fiber.Map{
if err := c.Render("hostinger", fiber.Map{
"Title": "Hostinger API",
"Config": cfg,
})
}, "layouts/main"); err != nil {
return c.SendStatus(fiber.StatusInternalServerError)
}
return nil
}
// SaveHostingerConfig guarda o actualiza el token de Hostinger.