Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/hgweb_mod.py @ 34612:c2cb6be4212f
configitems: register the 'web.logourl' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 11 Oct 2017 04:16:17 +0200 |
parents | c879fc7bd71f |
children | b2316265a32e |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py Wed Oct 11 04:16:05 2017 +0200 +++ b/mercurial/hgweb/hgweb_mod.py Wed Oct 11 04:16:17 2017 +0200 @@ -168,7 +168,7 @@ port = req.env['SERVER_PORT'] port = port != default_port and (':' + port) or '' urlbase = '%s://%s%s' % (proto, req.env['SERVER_NAME'], port) - logourl = self.config('web', 'logourl', 'https://mercurial-scm.org/') + logourl = self.config('web', 'logourl') logoimg = self.config('web', 'logoimg') staticurl = self.config('web', 'staticurl') or req.url + 'static/' if not staticurl.endswith('/'):