Feat/deployment update (#56)
* feat: update analyzer thresholds and add crawl configuration options * feat: update Helm chart version and add README for installation instructions * feat: update installation instructions in README and add Docker support * feat: update deployment manifests and configuration for improved service handling and analyzer settings * feat: add API endpoint for paginated IP retrieval and enhance dashboard visualization with category filters * feat: update configuration for Krawl service to use external config file * feat: refactor code for improved readability and consistency across multiple files * feat: remove Flake8, Pylint, and test steps from PR checks workflow
This commit is contained in:
committed by
GitHub
parent
130e81ad64
commit
8c76f6c847
@@ -76,10 +76,10 @@ class Config:
|
||||
# Try multiple external IP detection services (fallback chain)
|
||||
ip_detection_services = [
|
||||
"https://api.ipify.org", # Plain text response
|
||||
"http://ident.me", # Plain text response
|
||||
"https://ifconfig.me", # Plain text response
|
||||
"http://ident.me", # Plain text response
|
||||
"https://ifconfig.me", # Plain text response
|
||||
]
|
||||
|
||||
|
||||
ip = None
|
||||
for service_url in ip_detection_services:
|
||||
try:
|
||||
@@ -90,7 +90,7 @@ class Config:
|
||||
break
|
||||
except Exception:
|
||||
continue
|
||||
|
||||
|
||||
if not ip:
|
||||
get_app_logger().warning(
|
||||
"Could not determine server IP from external services. "
|
||||
|
||||
Reference in New Issue
Block a user