changeset 36895 | a5c478843c82 |
parent 36894 | ee395147bb28 |
child 36897 | d7fd203e36cc |
--- a/mercurial/hgweb/hgwebdir_mod.py Sun Mar 11 10:38:46 2018 -0700 +++ b/mercurial/hgweb/hgwebdir_mod.py Sun Mar 11 10:51:14 2018 -0700 @@ -542,7 +542,8 @@ sessionvars = webutil.sessionvars(vars, r'?') logourl = config('web', 'logourl') logoimg = config('web', 'logoimg') - staticurl = config('web', 'staticurl') or url + 'static/' + staticurl = (config('web', 'staticurl') + or wsgireq.req.apppath + '/static/') if not staticurl.endswith('/'): staticurl += '/'