Print URL in console when launching webserver

This commit is contained in:
Nicolas Frandeboeuf 2020-01-05 12:17:32 +01:00 committed by nicofrand
부모 5b15ce6918
커밋 0747c46400
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@ -252,4 +252,5 @@ def serve(config):
# standard logging
server = web_app.QuietWSGIRefServer
app.run(host=config["host"], port=config["port"], server=server)
print("Launching web viewer running on http://%s:%s" % (config["host"], config["port"]))
app.run(host=config["host"], port=config["port"], server=server)