Mercurial > hg
diff mercurial/hgweb/server.py @ 34243:d24816dfdcff
configitems: register the 'web.prefix' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:45:49 +0200 |
parents | e2d633f8ee65 |
children | 4741428606ed |
line wrap: on
line diff
--- a/mercurial/hgweb/server.py Fri Jun 30 03:45:48 2017 +0200 +++ b/mercurial/hgweb/server.py Fri Jun 30 03:45:49 2017 +0200 @@ -277,7 +277,7 @@ handler.preparehttpserver(self, ui) - prefix = ui.config('web', 'prefix', '') + prefix = ui.config('web', 'prefix') if prefix: prefix = '/' + prefix.strip('/') self.prefix = prefix