Skip to content

Conversation

Catalyzzt
Copy link

I noticed that the "--browser" flag does not function correctly and that, when the browser window is opened with the host IP, it returns an error. Changing the URL to localhost:[port] does the trick.

I noticed that the "--browser" flag does not function correctly and that, when the browser window is opened with the host IP, it returns an error. Changing the URL to localhost:[port] does the trick.
atexit.register(callback.close)

url = f'http://{args.host}:{args.port}/'
url = f'http://localhost:{args.port}/'
Copy link
Author

Choose a reason for hiding this comment

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

Another option would be to change the default --host to localhost as opposed to 0.0.0.0

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.

1 participant