fix: sync reflactor with framework (#170)

Co-authored-by: hardy <luohf@infinilabs.com>
This commit is contained in:
Hardy 2025-03-03 09:39:37 +08:00 committed by GitHub
parent 51bda50108
commit 92008a2139
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

2
ui.go
View File

@ -63,7 +63,7 @@ func (h UI) InitUI() {
// w.Write(buf)
//})
api.HandleUIFunc("/api/", func(w http.ResponseWriter, req *http.Request) {
api.HandleAPIFunc("/api/", func(w http.ResponseWriter, req *http.Request) {
log.Warn("api: ", req.URL, " not implemented")
request, err := h.GetRawBody(req)
if err != nil {