##// END OF EJS Templates
configitems: register the 'web.address' config
Boris Feld -
r34225:af4f0c74 default
parent child Browse files
Show More
@@ -585,6 +585,9 b" coreconfigitem('verify', 'skipflags',"
585 coreconfigitem('web', 'accesslog',
585 coreconfigitem('web', 'accesslog',
586 default='-',
586 default='-',
587 )
587 )
588 coreconfigitem('web', 'address',
589 default='',
590 )
588 coreconfigitem('worker', 'backgroundclose',
591 coreconfigitem('worker', 'backgroundclose',
589 default=dynamicdefault,
592 default=dynamicdefault,
590 )
593 )
@@ -326,7 +326,7 b' def create_server(ui, app):'
326 mimetypes.init()
326 mimetypes.init()
327 sys.setdefaultencoding(oldenc)
327 sys.setdefaultencoding(oldenc)
328
328
329 address = ui.config('web', 'address', '')
329 address = ui.config('web', 'address')
330 port = util.getport(ui.config('web', 'port', 8000))
330 port = util.getport(ui.config('web', 'port', 8000))
331 try:
331 try:
332 return cls(ui, app, (address, port), handler)
332 return cls(ui, app, (address, port), handler)
General Comments 0
You need to be logged in to leave comments. Login now