equal
deleted
inserted
replaced
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 |