From 56088be995bb9a1e699e329a29845350d00f16bc Mon Sep 17 00:00:00 2001 From: Avindra Goolcharan Date: Wed, 11 Apr 2018 21:48:17 -0400 Subject: [PATCH] publicip: use checkip.amazonaws.com in us-east I'm on the east coast, and on average the amazon endpoint is a bit faster. AWS is also a more well known name. --- bumblebee/modules/publicip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee/modules/publicip.py b/bumblebee/modules/publicip.py index 5444ce6..73c19d1 100644 --- a/bumblebee/modules/publicip.py +++ b/bumblebee/modules/publicip.py @@ -21,7 +21,7 @@ class Module(bumblebee.engine.Module): super(Module, self).__init__(engine, config, bumblebee.output.Widget(full_text=self.public_ip) ) - self._avail_regions = {"us-east":"http://l2.io/ip", + self._avail_regions = {"us-east":"http://checkip.amazonaws.com", "us-central":"http://whatismyip.akamai.com", "us-west":"http://ipv4bot.whatismyipaddress.com", "pl":"http://ip.42.pl/raw",