1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-24 06:28:42 +01:00

feat: list of releases can now be seen at the top (#2480)

This commit is contained in:
Amir Raminfar
2023-11-10 11:45:47 -08:00
committed by GitHub
parent 7dae54df26
commit 9fa4911aec
35 changed files with 458 additions and 197 deletions

View File

@@ -96,6 +96,7 @@ func createRouter(h *handler) *chi.Mux {
r.Get("/api/logs/download/{host}/{id}", h.downloadLogs)
r.Get("/api/logs/{host}/{id}", h.fetchLogsBetweenDates)
r.Get("/api/events/stream", h.streamEvents)
r.Get("/api/releases", h.releases)
r.Put("/api/profile/settings", h.saveSettings)
r.Get("/api/content/{id}", h.staticContent)
r.Get("/logout", h.clearSession) // TODO remove this