summaryrefslogtreecommitdiff
path: root/internal/server/router.go
diff options
context:
space:
mode:
authorGrailFinder <wohilas@gmail.com>2024-04-04 12:40:44 +0300
committerGrailFinder <wohilas@gmail.com>2024-04-04 12:40:44 +0300
commitb662265234d70d648a7adce74f3d9cc245456d3a (patch)
tree64f707d16226bacf1c72a1a9c3836461722f6320 /internal/server/router.go
parent6fae7099dd2f2632aff9db3d6c04d8e66396f02d (diff)
Feat: action-done endpoint
Diffstat (limited to 'internal/server/router.go')
-rw-r--r--internal/server/router.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/server/router.go b/internal/server/router.go
index 726f8b8..75cf4f9 100644
--- a/internal/server/router.go
+++ b/internal/server/router.go
@@ -22,6 +22,7 @@ func (srv *server) ListenToRequests() {
mux.HandleFunc("GET /ping", h.Ping)
mux.HandleFunc("GET /", h.MainPage)
mux.HandleFunc("POST /", h.HandleForm)
+ mux.HandleFunc("POST /done", h.HandleDoneAction)
// ====== elements ======
mux.HandleFunc("GET /showform", h.ServeShowForm)