| Index: common/prpc/talk/buildbot/frontend/handler.go
|
| diff --git a/common/prpc/talk/buildbot/frontend/handler.go b/common/prpc/talk/buildbot/frontend/handler.go
|
| index cf4b22b55497285ddbd81cea365de4252cf007f9..d1d4a61c25ce249a628e85420d999582c0637c57 100644
|
| --- a/common/prpc/talk/buildbot/frontend/handler.go
|
| +++ b/common/prpc/talk/buildbot/frontend/handler.go
|
| @@ -7,16 +7,15 @@ package buildbot
|
| import (
|
| "net/http"
|
|
|
| - "github.com/julienschmidt/httprouter"
|
| -
|
| "github.com/luci/luci-go/appengine/gaemiddleware"
|
| + "github.com/luci/luci-go/server/router"
|
| )
|
|
|
| func init() {
|
| - router := httprouter.New()
|
| - gaemiddleware.InstallHandlers(router, gaemiddleware.BaseProd)
|
| + router := router.New()
|
| + gaemiddleware.InstallHandlers(router, gaemiddleware.BaseProd())
|
|
|
| - InstallAPIRoutes(router, gaemiddleware.BaseProd)
|
| + InstallAPIRoutes(router, gaemiddleware.BaseProd())
|
|
|
| http.DefaultServeMux.Handle("/", router)
|
| }
|
|
|