From 9790bfdd6e252d2bf15079572a6ead034626a3d5 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 14 Jan 2021 11:44:25 +0800 Subject: [PATCH] 1 --- httpserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`)