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

auth: only listen on localhost #69

Merged
merged 1 commit into from
Jul 13, 2023
Merged

auth: only listen on localhost #69

merged 1 commit into from
Jul 13, 2023

Conversation

skyzh
Copy link
Member

@skyzh skyzh commented Jul 12, 2023

it does not seem necessary that we will need to listen on 0.0.0.0. First of all, users will get this popup on macOS

image

secondly, it does not look safe if user approved it as we get some server exposed on local network?

I haven't tested it locally and just searched for how to pass localhost to .listen, so this might not compile. Waiting on CI... Thanks for reviews!

@skyzh skyzh requested a review from duskpoet July 12, 2023 19:34
Copy link
Member

@duskpoet duskpoet left a comment

Choose a reason for hiding this comment

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

Good catch!

@duskpoet
Copy link
Member

I guess it was a matter of habit

@skyzh
Copy link
Member Author

skyzh commented Jul 13, 2023

CI seems to work, so it's okay to merge?

@duskpoet
Copy link
Member

Sure, go on!

@skyzh skyzh merged commit 7f36249 into main Jul 13, 2023
1 check passed
@skyzh skyzh deleted the skyzh-patch-1 branch July 13, 2023 14:23
duskpoet pushed a commit that referenced this pull request Jul 13, 2023
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