mirror of
https://github.com/iv-org/instances-api.git
synced 2024-11-26 23:20:22 +00: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
|
||||
loop do
|
||||
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.read_timeout = 10.seconds
|
||||
response = JSON.parse(client.get("/api/getMonitorList/89VnzSKAn?page=#{page}").body)
|
||||
|
Loading…
Reference in New Issue
Block a user