Skip to content

Commit 92008a2

Browse files
fix: sync reflactor with framework (#170)
Co-authored-by: hardy <[email protected]>
1 parent 51bda50 commit 92008a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func (h UI) InitUI() {
6363
// w.Write(buf)
6464
//})
6565

66-
api.HandleUIFunc("/api/", func(w http.ResponseWriter, req *http.Request) {
66+
api.HandleAPIFunc("/api/", func(w http.ResponseWriter, req *http.Request) {
6767
log.Warn("api: ", req.URL, " not implemented")
6868
request, err := h.GetRawBody(req)
6969
if err != nil {

0 commit comments

Comments
 (0)