Submitter | phabricator |
---|---|
Date | March 12, 2018, 9:16 p.m. |
Message ID | <differential-rev-PHID-DREV-eqsjfmvuvkeupcbam4oj-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/29327/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/hgweb/hgwebdir_mod.py b/mercurial/hgweb/hgwebdir_mod.py --- a/mercurial/hgweb/hgwebdir_mod.py +++ b/mercurial/hgweb/hgwebdir_mod.py @@ -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 += '/'