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.
This commit is contained in:
parent
8a95cb1b0f
commit
56088be995
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class Module(bumblebee.engine.Module):
|
||||||
super(Module, self).__init__(engine, config,
|
super(Module, self).__init__(engine, config,
|
||||||
bumblebee.output.Widget(full_text=self.public_ip)
|
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-central":"http://whatismyip.akamai.com",
|
||||||
"us-west":"http://ipv4bot.whatismyipaddress.com",
|
"us-west":"http://ipv4bot.whatismyipaddress.com",
|
||||||
"pl":"http://ip.42.pl/raw",
|
"pl":"http://ip.42.pl/raw",
|
||||||
|
|
Loading…
Reference in a new issue