feat: endpoint /app/run-seed para insertar módulos sin reiniciar servidor

This commit is contained in:
Lizandro Guarnizo
2026-05-01 10:49:01 -05:00
parent 88c65cd405
commit 6cd52eb085
2 changed files with 99 additions and 0 deletions
+3
View File
@@ -94,6 +94,9 @@ func UserRoutes(app fiber.Router) {
// ─── Módulo de Renovaciones / Contratos ──────────────────────────
RenovacionesRoutes(protected)
// ─── Seed manual (admin) ────────────────────────────────────────────
protected.Get("/run-seed", controllers.RunSeed)
// ─── Hostinger API ────────────────────────────────────────────────
protected.Get("/hostinger", middlewares.MenuMiddleware, controllers.HostingerConfigPage)
protected.Post("/hostinger/config", controllers.SaveHostingerConfig)