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 92e7c77e7c7c399ce7b59ccba2ababe006d84b6d..55cf6863bf04139f09303688d9cf9e2f0f2a1f78 100644 |
--- a/chrome/common/extensions/docs/server2/handler.py |
+++ b/chrome/common/extensions/docs/server2/handler.py |
@@ -125,16 +125,16 @@ class Handler(webapp.RequestHandler): |
if '_ah/warmup' in path: |
logging.info('Warmup request.') |
if DEFAULT_BRANCH != 'local': |
- self._NavigateToPath('trunk/samples.html') |
- self._NavigateToPath('dev/samples.html') |
- self._NavigateToPath('beta/samples.html') |
- self._NavigateToPath('stable/samples.html') |
+ self._NavigateToPath('extensions/trunk/samples.html') |
+ self._NavigateToPath('extensions/dev/samples.html') |
+ self._NavigateToPath('extensions/beta/samples.html') |
+ self._NavigateToPath('extensions/stable/samples.html') |
return |
# Redirect paths like "directory" to "directory/". This is so relative file |
# paths will know to treat this as a directory. |
if os.path.splitext(path)[1] == '' and path[-1] != '/': |
self.redirect(path + '/') |
- path = path.replace('/chrome/extensions/', '') |
+ path = path.replace('/chrome/', '') |
path = path.strip('/') |
self._NavigateToPath(path) |