Skip to content

Commit

Permalink
WIP add host to server
Browse files Browse the repository at this point in the history
  • Loading branch information
Wynndow committed Jun 20, 2017
1 parent 7e9514f commit 016d286
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dmutils/flask_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_extra_files(paths):
yield filename


def init_manager(application, port, extra_directories=()):
def init_manager(application, host, port, extra_directories=()):

manager = Manager(application)

Expand All @@ -88,7 +88,7 @@ def init_manager(application, port, extra_directories=()):

manager.add_command(
"runserver",
Server(port=port, extra_files=extra_files)
Server(host=host, port=port, extra_files=extra_files)
)

@manager.command
Expand Down

0 comments on commit 016d286

Please sign in to comment.