Merge pull request #247 from avindra/patch-1
publicip: use checkip.amazonaws.com in us-east
This commit is contained in:
commit
ecdf518d7c
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