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

feat: syncs all profile localStorage to disk (#2537)

This commit is contained in:
Amir Raminfar
2023-11-27 15:57:54 -08:00
committed by GitHub
parent b54b419a08
commit 60650ddc2c
12 changed files with 115 additions and 57 deletions

View File

@@ -105,7 +105,7 @@ func createRouter(h *handler) *chi.Mux {
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.Patch("/api/profile", h.updateProfile)
r.Get("/api/content/{id}", h.staticContent)
r.Get("/logout", h.clearSession) // TODO remove this
r.Get("/version", h.version)