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

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: Add imp folder 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') | no next file with comments »
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..059a7681208ad107343473e7c432f7d7e44b6b7e 100644
--- a/appengine/swarming/app.yaml
+++ b/appengine/swarming/app.yaml
@@ -66,6 +66,31 @@ handlers:
secure: always
login: admin
+# TODO(kjlubick): Consider moving elements/ to frontend/ so it is a bit more clear what the folder is about.
+- url: /newui/
+ 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.
M-A Ruel 2016/07/25 16:30:21 https://github.com/PolymerLabs/crisper fixes inlin
kjlubick 2016/07/25 17:54:51 I just removed this and it seemed to work.
+ # TODO(maruel): Polymer abuses eval() and http://crbug.com/277857 gets in
M-A Ruel 2016/07/25 16:30:21 This bug is closed.
kjlubick 2016/07/25 17:54:51 I just removed this and it seemed to work.
+ # 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698