summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dashboard/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go
index 4b67c2a..d04a60e 100644
--- a/cmd/dashboard/main.go
+++ b/cmd/dashboard/main.go
@@ -373,6 +373,8 @@ func main() {
r.With(widgetAuth).Post("/api/widget/update", h.HandleWidgetUpdate)
r.With(widgetAuth).Post("/api/widget/complete", h.HandleWidgetComplete)
r.With(widgetAuth).Post("/api/widget/reschedule", h.HandleWidgetReschedule)
+ r.With(widgetAuth).Get("/api/widget/recurrence", h.HandleWidgetRecurrence)
+ r.With(widgetAuth).Post("/api/widget/add", h.HandleWidgetAdd)
} else {
log.Println("WIDGET_TOKEN not set — /api/widget disabled")
}