| Index: appengine/gaemiddleware/routes.go
|
| diff --git a/appengine/gaemiddleware/routes.go b/appengine/gaemiddleware/routes.go
|
| index e52cf252dff223198b99c65d8219e718aa4b9a4f..62b53b75379cf08a05a7e4783112af188bc3fbcf 100644
|
| --- a/appengine/gaemiddleware/routes.go
|
| +++ b/appengine/gaemiddleware/routes.go
|
| @@ -5,8 +5,7 @@
|
| package gaemiddleware
|
|
|
| import (
|
| - "github.com/julienschmidt/httprouter"
|
| - "github.com/luci/luci-go/server/middleware"
|
| + "github.com/luci/luci-go/server/router"
|
| "github.com/luci/luci-go/server/settings/admin"
|
|
|
| gaeauth "github.com/luci/luci-go/appengine/gaeauth/server"
|
| @@ -19,8 +18,8 @@ import (
|
| // work (e.g. authentication related routes, time series monitoring, etc).
|
| //
|
| // 'base' is expected to be BaseProd or its derivative.
|
| -func InstallHandlers(r *httprouter.Router, base middleware.Base) {
|
| - gaeauth.InstallWebHandlers(r, base)
|
| - tsmon.InstallHandlers(r, base)
|
| - admin.InstallHandlers(r, base, &gaeauth.UsersAPIAuthMethod{})
|
| +func InstallHandlers(r *router.Router, handlers []router.Handler) {
|
| + gaeauth.InstallWebHandlers(r, handlers)
|
| + tsmon.InstallHandlers(r, handlers)
|
| + admin.InstallHandlers(r, handlers, &gaeauth.UsersAPIAuthMethod{})
|
| }
|
|
|