From 6ddba55413b0774994fe45959dde4d522b4f1b5e Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L de Mello" Date: Thu, 6 Mar 2025 16:56:01 -0300 Subject: [PATCH] chore: remove /panic endpoint --- router/router.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/router/router.go b/router/router.go index c5e52f7..291b2cd 100644 --- a/router/router.go +++ b/router/router.go @@ -35,9 +35,6 @@ func New(assertions tinyssert.Assertions, log *slog.Logger, dev bool) http.Handl } }) r.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("./static")))) - r.HandleFunc("/panic", func(w http.ResponseWriter, r *http.Request) { - panic("TEST PANIC") - }) return r }