diff --git a/httpserver.go b/httpserver.go index 1f4eee6..d715c20 100644 --- a/httpserver.go +++ b/httpserver.go @@ -35,7 +35,7 @@ func (this *HttpServer) Init(serviceName string, logOutputTime int32) *HttpServe this.restHandlers = make(map[string]*q5.ListHead) this.groupHandlers = make(map[string]*q5.ListHead) this.globalMiddlewareList.Init(nil) - this.RegisterRestHandle("/webapp/index", this.dispatchRequest) + this.RegisterRestHandle("/webapp/index.php", this.dispatchRequest) this.RegisterHandle("Ops", "selfChecking", func (c *Context) { c.Response(`{"errcode":0, "errmsg":"", "healthy":1, "max_rundelay":10}`)