diff options
| author | Leonardo Bishop <me@leonardobishop.net> | 2025-09-10 00:46:42 +0100 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.net> | 2025-09-10 00:46:42 +0100 |
| commit | d122d841e8b7dd7f8942b6f2fa84220f95f2cae4 (patch) | |
| tree | a00734c1109b222f2485bd31c61fdf5e00a6d516 /api/router.go | |
| parent | baea81484f61fc341634ecf5e144d7ecf18ad42f (diff) | |
Add optional CSS to html
Diffstat (limited to 'api/router.go')
| -rw-r--r-- | api/router.go | 1 |
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 } |
