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