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

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: Remove unneeded headers 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..86b85f2da378d89aabeeffef960713e2f8a6f0a4 100644
--- a/appengine/swarming/app.yaml
+++ b/appengine/swarming/app.yaml
@@ -66,6 +66,23 @@ 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:
+ 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:
+ 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