| Index: milo/frontend/main.go
|
| diff --git a/milo/frontend/main.go b/milo/frontend/main.go
|
| index 6aa14894387149ab52c08e0e7d68dfbc9ff9a135..e6e21e367bd9a770cddb784c1b18181668fc04ea 100644
|
| --- a/milo/frontend/main.go
|
| +++ b/milo/frontend/main.go
|
| @@ -30,12 +30,12 @@ func emptyPrelude(c context.Context, methodName string, req proto.Message) (cont
|
| }
|
|
|
| // Where it all begins!!!
|
| -func Run() {
|
| +func Run(templatePath string) {
|
| // Register plain ol' http handlers.
|
| r := router.New()
|
| gaemiddleware.InstallHandlers(r)
|
|
|
| - basemw := common.Base("templates")
|
| + basemw := common.Base(templatePath)
|
| r.GET("/", basemw, frontpageHandler)
|
|
|
| // Admin and cron endpoints.
|
|
|