mercurial/hgweb/hgweb_mod.py
changeset 26421 4b0fc75f9403
parent 26294 1ffc61c4e32e
child 26846 7c1b4840c2cd
equal deleted inserted replaced
26420:2fc86d92c4a9 26421:4b0fc75f9403
   124             default_port = '80'
   124             default_port = '80'
   125 
   125 
   126         port = req.env['SERVER_PORT']
   126         port = req.env['SERVER_PORT']
   127         port = port != default_port and (':' + port) or ''
   127         port = port != default_port and (':' + port) or ''
   128         urlbase = '%s://%s%s' % (proto, req.env['SERVER_NAME'], port)
   128         urlbase = '%s://%s%s' % (proto, req.env['SERVER_NAME'], port)
   129         logourl = self.config('web', 'logourl', 'http://mercurial.selenic.com/')
   129         logourl = self.config('web', 'logourl', 'https://mercurial-scm.org/')
   130         logoimg = self.config('web', 'logoimg', 'hglogo.png')
   130         logoimg = self.config('web', 'logoimg', 'hglogo.png')
   131         staticurl = self.config('web', 'staticurl') or req.url + 'static/'
   131         staticurl = self.config('web', 'staticurl') or req.url + 'static/'
   132         if not staticurl.endswith('/'):
   132         if not staticurl.endswith('/'):
   133             staticurl += '/'
   133             staticurl += '/'
   134 
   134