add comment for read only key

This commit is contained in:
Emilien Devos 2024-04-21 22:39:36 +02:00
parent 51513d16a8
commit 496acbdd7f

View File

@ -35,6 +35,7 @@ spawn do
client = HTTP::Client.new(URI.parse("https://updown.io/p/wqufo"))
client.connect_timeout = 10.seconds
client.read_timeout = 10.seconds
# Read only key for accessing the uptime checks
response = JSON.parse(client.get("/api/checks?api-key=ro-52iHyp6LBqQq7rGp4N7p").body)
monitors += response.as_a
rescue ex