feat: endpoint /app/run-seed para insertar módulos sin reiniciar servidor
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user