mirror of
https://github.com/iv-org/instances-api.git
synced 2024-10-01 04:35:38 -04:00
Use default uptimerobot url
This commit is contained in:
parent
17e268574b
commit
e2d7c7dd6d
@ -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