diff options
Diffstat (limited to 'cmd/dashboard/main.go')
| -rw-r--r-- | cmd/dashboard/main.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go index 8f87e30..f1428ed 100644 --- a/cmd/dashboard/main.go +++ b/cmd/dashboard/main.go @@ -232,6 +232,14 @@ func main() { r.Get("/shopping/mode/{store}", h.HandleShoppingMode) r.Post("/shopping/mode/{store}/toggle", h.HandleShoppingModeToggle) + // Settings + r.Get("/settings", h.HandleSettingsPage) + r.Post("/settings/sync", h.HandleSyncSources) + r.Post("/settings/toggle", h.HandleToggleSourceConfig) + r.Post("/settings/features", h.HandleCreateFeature) + r.Post("/settings/features/toggle", h.HandleToggleFeature) + r.Delete("/settings/features/{name}", h.HandleDeleteFeature) + // WebSocket for notifications r.Get("/ws/notifications", h.HandleWebSocket) }) |
