Fix non-starting httpd

This commit is contained in:
s3lph 2023-01-31 01:27:57 +01:00
parent f00ffb7dd2
commit 62fd2d52da

View file

@ -72,9 +72,9 @@ def direct_hu(userhash: str):
return advanced_hu(get_domain_header(), userhash)
def run_server():
def run_server(args):
run(host=Config.httpd['host'], port=Config.httpd['port'])
if __name__ == '__main__':
run_server()
run_server(None)