Browse Source

Print URL in console when launching webserver

Nicolas Frandeboeuf 1 month ago
parent
commit
0747c46400
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      flatisfy/cmds.py

+ 2
- 1
flatisfy/cmds.py View File

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