diff options
author | Grail Finder (aider) <wohilas@gmail.com> | 2025-04-05 18:22:26 +0300 |
---|---|---|
committer | Grail Finder (aider) <wohilas@gmail.com> | 2025-04-05 18:22:26 +0300 |
commit | 80b0788e4a6d30be936b9cf4e84639042cdc760f (patch) | |
tree | 423d8e0a1c9636a254465d0334c5acbf0a65e107 /internal | |
parent | d93fe83d44a5ad547a66e2e08db9503fd05e6c00 (diff) |
feat: add next-question route to router
Diffstat (limited to 'internal')
-rw-r--r-- | internal/server/router.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/server/router.go b/internal/server/router.go index 43a29b9..6553d55 100644 --- a/internal/server/router.go +++ b/internal/server/router.go @@ -23,6 +23,7 @@ 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("POST /login", h.HandleLogin) // mux.HandleFunc("POST /signup", h.HandleSignup) |