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

Unified Diff: appengine/static/common/include.yaml

Issue 1960443004: Add rpcexplorer to webapp hierarchy. (Closed) Base URL: https://github.com/luci/luci-go@logdog-project-web
Patch Set: Updated license, clarified instructions. Created 4 years, 6 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/static/common/rpcexplorer » ('j') | appengine/static/common/rpcexplorer » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/static/common/include.yaml
diff --git a/appengine/static/common/include.yaml b/appengine/static/common/include.yaml
index 67c9a0d6848a53a3f8665fa69ab0c426a68ab68e..3ee6a261edd8a6c5b05e0dbeaaaa567a86293bce 100644
--- a/appengine/static/common/include.yaml
+++ b/appengine/static/common/include.yaml
@@ -1,13 +1,18 @@
handlers:
-
# RPC Explorer
-- url: /rpcexplorer/.*
- static_files: common/upload/rpcexplorer/index.html
- upload: common/upload/rpcexplorer/index.html
+- url: /rpcexplorer/?
+ static_files: common/rpcexplorer/index.html
+ upload: common/rpcexplorer/index.html
+ secure: always
+
+# The entire subpath is globbed because RPC Explorer uses native URL redirecting
+# for sub-pages, and we want all of them to map to the same HTML file.
+- url: /rpcexplorer/services/.*
+ static_files: common/rpcexplorer/index.html
+ upload: common/rpcexplorer/index.html
secure: always
-# Common files.
-# URL includes /static because dispatcher.yaml cannot rewrite URLs.
-- url: /static/common
- static_dir: common/upload
+# RPC Explorer
+- url: /rpcexplorer
+ static_dir: common/rpcexplorer
secure: always
« no previous file with comments | « no previous file | appengine/static/common/rpcexplorer » ('j') | appengine/static/common/rpcexplorer » ('J')

Powered by Google App Engine
This is Rietveld 408576698