##// END OF EJS Templates
hgweb: construct static URL like hgweb does...
Gregory Szorc -
r36911:a5c47884 default
parent child Browse files
Show More
@@ -542,7 +542,8 b' class hgwebdir(object):'
542 sessionvars = webutil.sessionvars(vars, r'?')
542 sessionvars = webutil.sessionvars(vars, r'?')
543 logourl = config('web', 'logourl')
543 logourl = config('web', 'logourl')
544 logoimg = config('web', 'logoimg')
544 logoimg = config('web', 'logoimg')
545 staticurl = config('web', 'staticurl') or url + 'static/'
545 staticurl = (config('web', 'staticurl')
546 or wsgireq.req.apppath + '/static/')
546 if not staticurl.endswith('/'):
547 if not staticurl.endswith('/'):
547 staticurl += '/'
548 staticurl += '/'
548
549
General Comments 0
You need to be logged in to leave comments. Login now