Skip to content

Commit

Permalink
redirect for none versioned urls
Browse files Browse the repository at this point in the history
  • Loading branch information
ebidel committed Feb 20, 2015
1 parent fd3d13f commit 02d5153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class VersionHandler(webapp2.RequestHandler):

def get(self, version=None):
version_dir = get_latest_polymer_version_dir()
self.response.write('serve %s docs' % version_dir)
self.redirect('/%s%s' % (version_dir, self.request.path))


routes = [
Expand Down

0 comments on commit 02d5153

Please sign in to comment.