Browse Source

Print URL in console when launching webserver

master
Nicolas Frandeboeuf 3 years ago committed by nicofrand
parent
commit
0747c46400
  1. 3
      flatisfy/cmds.py

3
flatisfy/cmds.py

@ -252,4 +252,5 @@ def serve(config): @@ -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)
Loading…
Cancel
Save