chore: remove /panic endpoint

This commit is contained in:
Guz
2025-03-06 16:56:01 -03:00
parent 7de9126ea1
commit 6ddba55413

View File

@@ -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
}