Show More
@@ -496,10 +496,6 b' class hgwebdir(object):' | |||||
496 | def config(section, name, default=uimod._unset, untrusted=True): |
|
496 | def config(section, name, default=uimod._unset, untrusted=True): | |
497 | return self.ui.config(section, name, default, untrusted) |
|
497 | return self.ui.config(section, name, default, untrusted) | |
498 |
|
498 | |||
499 | url = wsgireq.env.get('SCRIPT_NAME', '') |
|
|||
500 | if not url.endswith('/'): |
|
|||
501 | url += '/' |
|
|||
502 |
|
||||
503 | vars = {} |
|
499 | vars = {} | |
504 | styles, (style, mapfile) = hgweb_mod.getstyle(wsgireq.req, config, |
|
500 | styles, (style, mapfile) = hgweb_mod.getstyle(wsgireq.req, config, | |
505 | self.templatepath) |
|
501 | self.templatepath) | |
@@ -517,7 +513,7 b' class hgwebdir(object):' | |||||
517 | defaults = { |
|
513 | defaults = { | |
518 | "encoding": encoding.encoding, |
|
514 | "encoding": encoding.encoding, | |
519 | "motd": motd, |
|
515 | "motd": motd, | |
520 |
"url": |
|
516 | "url": wsgireq.req.apppath + '/', | |
521 | "logourl": logourl, |
|
517 | "logourl": logourl, | |
522 | "logoimg": logoimg, |
|
518 | "logoimg": logoimg, | |
523 | "staticurl": staticurl, |
|
519 | "staticurl": staticurl, |
General Comments 0
You need to be logged in to leave comments.
Login now