Skip to content

Commit

Permalink
Merge pull request #52 from Jyrsa/default_host
Browse files Browse the repository at this point in the history
Default host
  • Loading branch information
bast committed Sep 13, 2017
2 parents 62fa201 + 9e594a6 commit ea239fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cicero/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def parse_args():
arg('--file', '-f', dest='filename', help='serve a local file')
arg('--engine', dest='engine', help='rendering engine', default='remark-0.13.0')
arg('--debug', dest='debug', action='store_true', default=False)
arg('--host', dest='host', default=os.environ.get('HOST', '0.0.0.0'))
arg('--host', dest='host', default=os.environ.get('HOST', '127.0.0.1'))
arg('--port', dest='port', type=int, default=int(os.environ.get('PORT', 5000)))

return parser.parse_args()

0 comments on commit ea239fa

Please sign in to comment.