mirror of
https://gitea.invidious.io/iv-org/instances-api.git
synced 2024-08-15 00:53:15 +00:00
Use default uptimerobot url
This commit is contained in:
parent
17e268574b
commit
e2d7c7dd6d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue