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

Unified Diff: milo/appengine/frontend/app.yaml

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/console/html.go ('k') | milo/appengine/frontend/cron.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/frontend/app.yaml
diff --git a/milo/appengine/frontend/app.yaml b/milo/appengine/frontend/app.yaml
index f8dd3c8aa69f8ad8c3b9b7091d255dfa89021c8f..1a6d226fc8d74755552d185b8ab16f8bcff81d25 100644
--- a/milo/appengine/frontend/app.yaml
+++ b/milo/appengine/frontend/app.yaml
@@ -13,6 +13,12 @@ handlers:
- url: /_ah/remote_api
script: _go_app
+# For endpoints meant to be hit by a cron job.
+- url: /cron/.*
+ script: _go_app
+ secure: always
+ login: admin
+
# Everything goes here.
- url: /.*
script: _go_app
« no previous file with comments | « milo/appengine/console/html.go ('k') | milo/appengine/frontend/cron.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698