up
This commit is contained in:
@@ -62,4 +62,16 @@ func RutasPublicas(web fiber.Router) {
|
||||
})
|
||||
// ─── Página de estado del sistema (Atlassian Statuspage) ────────────────
|
||||
web.Get("/status", controllers.StatusPage)
|
||||
|
||||
// ─── Landing Generator (acceso con X-Landing-Secret) ─────────────────────
|
||||
// Rutas públicas (sin secret) para lectura de preview y polling
|
||||
web.Get("/landing/preview/:token", apiControllers.LandingGetSession)
|
||||
web.Get("/landing/poll/:token", apiControllers.LandingPollPayment)
|
||||
// Rutas internas (requieren X-Landing-Secret del Next.js)
|
||||
web.Post("/landing/session", apiControllers.LandingCreateSession)
|
||||
web.Post("/landing/chat", apiControllers.LandingChat)
|
||||
web.Post("/landing/generate", apiControllers.LandingGenerate)
|
||||
web.Post("/landing/payment", apiControllers.LandingCreatePayment)
|
||||
web.Get("/landing/answers/:token", apiControllers.LandingGetAnswers)
|
||||
web.Get("/landing/download/:token", apiControllers.LandingDownload)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user