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

Unified Diff: appengine/swarming/app.yaml

Issue 2174903002: Add stub pages and oauth-blessed request to /newui (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: more docs Created 4 years, 5 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 | « no previous file | appengine/swarming/elements/Makefile » ('j') | appengine/swarming/elements/Makefile » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/app.yaml
diff --git a/appengine/swarming/app.yaml b/appengine/swarming/app.yaml
index 4fcd930ca2fd94dfbe81eeaab8113c7c291a8293..3caae89d6ea8e09792a7b8c481c759ab28c6b47e 100644
--- a/appengine/swarming/app.yaml
+++ b/appengine/swarming/app.yaml
@@ -66,6 +66,30 @@ handlers:
secure: always
login: admin
+- url: /newui/
stephana 2016/07/24 21:17:06 Nit: It looks like the elements folder will contai
kjlubick 2016/07/25 12:45:43 This is true.
kjlubick 2016/07/25 13:10:59 I added a TODO to consider this later when it is c
+ static_files: elements/build/index-build.html
+ upload: elements/build/index-build.html
+ secure: always
+ http_headers:
+ # TODO(maruel): Unsure about polymer if it is inline-style free.
+ # TODO(maruel): Polymer abuses eval() and http://crbug.com/277857 gets in
+ # the way.
+ Content-Security-Policy: "default-src https: 'self' 'unsafe-inline' 'unsafe-eval'"
+ Strict-Transport-Security: "max-age=31536000; includeSubDomains; preload"
+ X-Frame-Options: deny
+
+- url: /newui/(.+)
+ static_files: elements/build/\1-build.html
+ upload: elements/build/([^/]+)-build.html
+ secure: always
+ http_headers:
+ # TODO(maruel): Unsure about polymer if it is inline-style free.
+ # TODO(maruel): Polymer abuses eval() and http://crbug.com/277857 gets in
+ # the way.
+ Content-Security-Policy: "default-src https: 'self' 'unsafe-inline' 'unsafe-eval'"
+ Strict-Transport-Security: "max-age=31536000; includeSubDomains; preload"
+ X-Frame-Options: deny
+
- url: .*
script: main.app
secure: always
« no previous file with comments | « no previous file | appengine/swarming/elements/Makefile » ('j') | appengine/swarming/elements/Makefile » ('J')

Powered by Google App Engine
This is Rietveld 408576698