summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dashboard/main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/dashboard/main.go b/cmd/dashboard/main.go
index 4a1fb32..e8c2fa4 100644
--- a/cmd/dashboard/main.go
+++ b/cmd/dashboard/main.go
@@ -85,6 +85,9 @@ func main() {
r.Post("/tasks", h.HandleCreateTask)
r.Post("/tasks/complete", h.HandleCompleteTask)
+ // Unified task completion (for Tasks tab Atoms)
+ r.Post("/complete-atom", h.HandleCompleteAtom)
+
// Serve static files
fileServer := http.FileServer(http.Dir("web/static"))
r.Handle("/static/*", http.StripPrefix("/static/", fileServer))