Merge pull request #26 from iv-org/uptimerobot-url-custom-domain-deprecation

Use default uptimerobot url
This commit is contained in:
Perflyst 2021-05-04 16:58:59 +02:00 committed by GitHub
commit cc4ffcf190
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)