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

Unified Diff: chrome/common/extensions/docs/server2/handler.py

Issue 10826173: Extensions Docs Server: Proper path handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: chrome/common/extensions/docs/server2/handler.py
diff --git a/chrome/common/extensions/docs/server2/handler.py b/chrome/common/extensions/docs/server2/handler.py
index 019d855723c19f8e2bb7a36698856bb8737c89cc..4f4f9de7e68122109841c36d7d2bf25b61913b0f 100644
--- a/chrome/common/extensions/docs/server2/handler.py
+++ b/chrome/common/extensions/docs/server2/handler.py
@@ -128,10 +128,10 @@ class Handler(webapp.RequestHandler):
if '_ah/warmup' in path:
logging.info('Warmup request.')
if DEFAULT_BRANCH != 'local':
- self._NavigateToPath('extensions/trunk/samples.html')
- self._NavigateToPath('extensions/dev/samples.html')
- self._NavigateToPath('extensions/beta/samples.html')
- self._NavigateToPath('extensions/stable/samples.html')
+ self._NavigateToPath('trunk/extensions/samples.html')
+ self._NavigateToPath('dev/extensions/samples.html')
+ self._NavigateToPath('beta/extensions/samples.html')
+ self._NavigateToPath('stable/extensions/samples.html')
return
# Redirect paths like "directory" to "directory/". This is so relative file

Powered by Google App Engine
This is Rietveld 408576698