mirror of
https://github.com/iv-org/instances-api.git
synced 2024-12-25 23:49:24 -05:00
Merge pull request #26 from iv-org/uptimerobot-url-custom-domain-deprecation
Use default uptimerobot url
This commit is contained in:
commit
cc4ffcf190
@ -34,7 +34,7 @@ spawn do
|
|||||||
page = 1
|
page = 1
|
||||||
loop do
|
loop do
|
||||||
begin
|
begin
|
||||||
client = HTTP::Client.new(URI.parse("https://uptime.invidious.io"))
|
client = HTTP::Client.new(URI.parse("https://stats.uptimerobot.com/89VnzSKAn"))
|
||||||
client.connect_timeout = 10.seconds
|
client.connect_timeout = 10.seconds
|
||||||
client.read_timeout = 10.seconds
|
client.read_timeout = 10.seconds
|
||||||
response = JSON.parse(client.get("/api/getMonitorList/89VnzSKAn?page=#{page}").body)
|
response = JSON.parse(client.get("/api/getMonitorList/89VnzSKAn?page=#{page}").body)
|
||||||
|
Loading…
Reference in New Issue
Block a user