Show More
@@ -631,6 +631,9 b" coreconfigitem('web', 'ipv6'," | |||
|
631 | 631 | coreconfigitem('web', 'port', |
|
632 | 632 | default=8000, |
|
633 | 633 | ) |
|
634 | coreconfigitem('web', 'prefix', | |
|
635 | default='', | |
|
636 | ) | |
|
634 | 637 | coreconfigitem('worker', 'backgroundclose', |
|
635 | 638 | default=dynamicdefault, |
|
636 | 639 | ) |
@@ -177,7 +177,7 b' class hgwebdir(object):' | |||
|
177 | 177 | if self.stripecount: |
|
178 | 178 | self.stripecount = int(self.stripecount) |
|
179 | 179 | self._baseurl = self.ui.config('web', 'baseurl') |
|
180 |
prefix = self.ui.config('web', 'prefix' |
|
|
180 | prefix = self.ui.config('web', 'prefix') | |
|
181 | 181 | if prefix.startswith('/'): |
|
182 | 182 | prefix = prefix[1:] |
|
183 | 183 | if prefix.endswith('/'): |
General Comments 0
You need to be logged in to leave comments.
Login now