summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 6662d90..f2cf44d 100644
--- a/main.go
+++ b/main.go
@@ -86,6 +86,7 @@ func main() {
mux.HandleFunc("POST /login", handler.Login)
mux.HandleFunc("POST /refresh", handler.Refresh)
mux.HandleFunc("GET /health", handler.Health)
+ mux.HandleFunc("GET /token", handler.GetToken)
addr := fmt.Sprintf(":%d", cfg.Server.Port)
srv := &http.Server{