fix: sync reflactor with framework (#170)
Co-authored-by: hardy <luohf@infinilabs.com>
This commit is contained in:
parent
51bda50108
commit
92008a2139
2
ui.go
2
ui.go
|
@ -63,7 +63,7 @@ func (h UI) InitUI() {
|
||||||
// w.Write(buf)
|
// 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")
|
log.Warn("api: ", req.URL, " not implemented")
|
||||||
request, err := h.GetRawBody(req)
|
request, err := h.GetRawBody(req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue