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

Fix setting empty IP when cannot fetch. Add log levels. Add custom IP check URL #17

Closed
wants to merge 2 commits into from

Conversation

michnovka
Copy link

Fixes #16

And many other improvements:

Log levels - I added DEBUG log level, and introduced log_level variable which limits output to logs
Custom IP Check URL - if supplied, the URL will be fetched before the default 2 endpoints. Response just must have JSON reply with 'ip' field

minor fixes

@navilg navilg self-requested a review September 11, 2024 04:49
@navilg
Copy link
Owner

navilg commented Sep 14, 2024

@michnovka Thanks for the contribution. This PR contains one fix (handling empty IP), one new feature (custom URL to get pub IP) and one document change. Lets break it down and create separate PRs for each.

@michnovka
Copy link
Author

@navilg I am sorry but I currently have no time to do that :\

@navilg
Copy link
Owner

navilg commented Sep 16, 2024

Okay

@navilg navilg closed this Sep 16, 2024
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.

When IP is not detected, it tries to set empty one
2 participants