Show More
@@ -628,6 +628,9 b" coreconfigitem('web', 'errorlog'," | |||
|
628 | 628 | coreconfigitem('web', 'ipv6', |
|
629 | 629 | default=False, |
|
630 | 630 | ) |
|
631 | coreconfigitem('web', 'port', | |
|
632 | default=8000, | |
|
633 | ) | |
|
631 | 634 | coreconfigitem('worker', 'backgroundclose', |
|
632 | 635 | default=dynamicdefault, |
|
633 | 636 | ) |
@@ -327,7 +327,7 b' def create_server(ui, app):' | |||
|
327 | 327 | sys.setdefaultencoding(oldenc) |
|
328 | 328 | |
|
329 | 329 | address = ui.config('web', 'address') |
|
330 |
port = util.getport(ui.config('web', 'port' |
|
|
330 | port = util.getport(ui.config('web', 'port')) | |
|
331 | 331 | try: |
|
332 | 332 | return cls(ui, app, (address, port), handler) |
|
333 | 333 | except socket.error as inst: |
General Comments 0
You need to be logged in to leave comments.
Login now