summaryrefslogtreecommitdiff
path: root/internal/server/router.go
diff options
context:
space:
mode:
authorGrailFinder <wohilas@gmail.com>2024-05-18 13:27:28 +0300
committerGrailFinder <wohilas@gmail.com>2024-05-18 13:27:28 +0300
commit2e9b18944eac3dcaf8a006594cb338d94c07a447 (patch)
tree7715140a6951407d13781e0a5bbf83a6e8f9dbe9 /internal/server/router.go
parentff86222fc9ab85fb4c5c5e8a063083595b323761 (diff)
Feat: auth; login; signup; migrate to sqlite
Diffstat (limited to 'internal/server/router.go')
-rw-r--r--internal/server/router.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/router.go b/internal/server/router.go
index 3e8785f..ae68418 100644
--- a/internal/server/router.go
+++ b/internal/server/router.go
@@ -24,7 +24,7 @@ func (srv *server) ListenToRequests() {
mux.HandleFunc("POST /", h.HandleForm)
mux.HandleFunc("POST /done", h.HandleDoneAction)
mux.HandleFunc("POST /login", h.HandleLogin)
- // mux.HandleFunc("POST /signup", h.HandleLogin)
+ mux.HandleFunc("POST /signup", h.HandleSignup)
// ====== elements ======
mux.HandleFunc("GET /showform", h.ServeShowForm)