summaryrefslogtreecommitdiff
path: root/internal/server/router.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/server/router.go')
-rw-r--r--internal/server/router.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/server/router.go b/internal/server/router.go
index 43a29b9..bb73e71 100644
--- a/internal/server/router.go
+++ b/internal/server/router.go
@@ -23,6 +23,8 @@ func (srv *server) ListenToRequests() {
mux.HandleFunc("GET /ping", h.Ping)
mux.HandleFunc("GET /", h.MainPage)
mux.HandleFunc("POST /answer", h.HandleAnswer)
+ mux.HandleFunc("GET /next-question", h.HandleNextQuestion)
+ mux.HandleFunc("GET /mixed", h.HandleMixedUbung)
// mux.HandleFunc("POST /login", h.HandleLogin)
// mux.HandleFunc("POST /signup", h.HandleSignup)