Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Unified Diff: milo/appengine/frontend/milo.go

Issue 2238883003: Milo: Use luci-cfg for defining projects and console view. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: review Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « milo/appengine/frontend/cron.yaml ('k') | milo/appengine/settings/config.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/frontend/milo.go
diff --git a/milo/appengine/frontend/milo.go b/milo/appengine/frontend/milo.go
index 7641c38f8a1955259e7811d38cdcca0cc068e215..c75681b38d27ec8d834ea15bac4dd7af6490aeb7 100644
--- a/milo/appengine/frontend/milo.go
+++ b/milo/appengine/frontend/milo.go
@@ -25,8 +25,12 @@ func init() {
gaemiddleware.InstallHandlers(r, basemw)
r.GET("/", basemw, settings.Wrap(frontpage{}))
+ // Admin and cron endpoints.
+ r.POST("/admin/update", basemw, settings.UpdateHandler)
+
// Console
- r.GET("/console/:name", basemw, settings.Wrap(console.Console{}))
+ r.GET("/console/:project/:name", basemw, settings.Wrap(console.Console{}))
+ r.GET("/console/:project", basemw, console.Main)
// Swarming
r.GET("/swarming/task/:id/steps/*logname", basemw, settings.Wrap(swarming.Log{}))
« no previous file with comments | « milo/appengine/frontend/cron.yaml ('k') | milo/appengine/settings/config.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698