diff options
Diffstat (limited to 'cmd/dashboard/main.go')
| -rw-r--r-- | cmd/dashboard/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go index d4e4dcb..d04a60e 100644 --- a/cmd/dashboard/main.go +++ b/cmd/dashboard/main.go @@ -369,6 +369,8 @@ func main() { return handlers.WidgetAuthMiddleware(cfg.WidgetToken, next) } r.With(widgetAuth).Get("/api/widget", h.HandleWidgetGet) + r.With(widgetAuth).Get("/api/widget/detail", h.HandleWidgetDetail) + 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) |
