Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lest use 0.0.0.0 instead of localhost, it will allow to use the server from external resources #26

Closed
wants to merge 3 commits into from

Conversation

oivoodoo
Copy link
Contributor

No description provided.

@jaimeMF
Copy link
Owner

jaimeMF commented Feb 23, 2015

It should be an option, not the default.

@oivoodoo
Copy link
Contributor Author

@jaimeMF ok. good point. I will change it by args.host. is it ok?

jaimeMF pushed a commit that referenced this pull request Feb 23, 2015
@jaimeMF
Copy link
Owner

jaimeMF commented Feb 23, 2015

Thanks! I have squashed and cherry picked the changes in d4b7cb2

@jaimeMF jaimeMF closed this Feb 23, 2015
default_host = 'localhost'
host_help = 'The host the server will use. The default is: {}'
host_help = port_help.format(default_host)
parser.add_argument('-h', '--host',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-h conflicts with the --help option, so I have removed it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jaimeMF sorry, I missed it. :) thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants