Commit 47cf2208 authored by André Anjos's avatar André Anjos 💬
Browse files

Merge branch 'fix_issue_151' into 'master'

Patch server cli to open browser when not in devel mode

Closes #151

See merge request !17
parents 732581ec 405e330c
Pipeline #23429 passed with stages
in 46 minutes and 33 seconds
......@@ -125,7 +125,7 @@ def serve(ctx, dev, debug, prefix, cache):
api.add_resource(gen_endpoint(entity), '/' + entity,
resource_class_kwargs={'config': config})
if dev:
if not dev:
import webbrowser
webbrowser.open('http://localhost:5000')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment