summaryrefslogtreecommitdiffstats
path: root/api/router.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/router.go')
-rw-r--r--api/router.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/router.go b/api/router.go
index ec7ac4d..c18fed8 100644
--- a/api/router.go
+++ b/api/router.go
@@ -22,6 +22,7 @@ func NewServer(api ApiServices) *http.ServeMux {
mux.HandleFunc("POST /record", middleware.Cors(handlers.RecordEntry(api.EntiresService, api.Config.Token)))
mux.HandleFunc("GET /html", handlers.GetEntriesHtml(api.EntiresService, api.HtmlService))
+ mux.HandleFunc("GET /", handlers.Pong())
return mux
}