mercurial/hgweb/hgweb_mod.py
changeset 34612 c2cb6be4212f
parent 34611 c879fc7bd71f
child 34702 b2316265a32e
equal deleted inserted replaced
34611:c879fc7bd71f 34612:c2cb6be4212f
   166             default_port = '80'
   166             default_port = '80'
   167 
   167 
   168         port = req.env['SERVER_PORT']
   168         port = req.env['SERVER_PORT']
   169         port = port != default_port and (':' + port) or ''
   169         port = port != default_port and (':' + port) or ''
   170         urlbase = '%s://%s%s' % (proto, req.env['SERVER_NAME'], port)
   170         urlbase = '%s://%s%s' % (proto, req.env['SERVER_NAME'], port)
   171         logourl = self.config('web', 'logourl', 'https://mercurial-scm.org/')
   171         logourl = self.config('web', 'logourl')
   172         logoimg = self.config('web', 'logoimg')
   172         logoimg = self.config('web', 'logoimg')
   173         staticurl = self.config('web', 'staticurl') or req.url + 'static/'
   173         staticurl = self.config('web', 'staticurl') or req.url + 'static/'
   174         if not staticurl.endswith('/'):
   174         if not staticurl.endswith('/'):
   175             staticurl += '/'
   175             staticurl += '/'
   176 
   176