Fix config loading bug in webserver
This commit is contained in:
parent
e15f6e51b1
commit
c535ae8f1a
3 changed files with 3 additions and 3 deletions
|
@ -1,2 +1,2 @@
|
|||
|
||||
__version__ = '0.1.3'
|
||||
__version__ = '0.1.4'
|
||||
|
|
|
@ -39,7 +39,7 @@ def hu(domain: str, userhash: str):
|
|||
|
||||
|
||||
def run_server():
|
||||
run(host=Config.host, port=Config.port)
|
||||
run(host=Config.httpd['host'], port=Config.httpd['port'])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
|
@ -2,7 +2,7 @@
|
|||
from .config import Config
|
||||
from .files import init_working_directory, clean_stale_requests
|
||||
from .process import process_mail_from_stdin
|
||||
from .server import run_server
|
||||
from .httpd import run_server
|
||||
from .lmtpd import run_lmtpd
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue