Show More
@@ -136,7 +136,7 b' class requestcontext(object):' | |||
|
136 | 136 | logourl = self.config('web', 'logourl') |
|
137 | 137 | logoimg = self.config('web', 'logoimg') |
|
138 | 138 | staticurl = (self.config('web', 'staticurl') |
|
139 | or req.apppath + '/static/') | |
|
139 | or req.apppath.rstrip('/') + '/static/') | |
|
140 | 140 | if not staticurl.endswith('/'): |
|
141 | 141 | staticurl += '/' |
|
142 | 142 |
@@ -514,7 +514,7 b' class hgwebdir(object):' | |||
|
514 | 514 | logourl = config('web', 'logourl') |
|
515 | 515 | logoimg = config('web', 'logoimg') |
|
516 | 516 | staticurl = (config('web', 'staticurl') |
|
517 | or req.apppath + '/static/') | |
|
517 | or req.apppath.rstrip('/') + '/static/') | |
|
518 | 518 | if not staticurl.endswith('/'): |
|
519 | 519 | staticurl += '/' |
|
520 | 520 |
General Comments 0
You need to be logged in to leave comments.
Login now