mirror of
https://github.com/cmur2/munin-bitcoin.git
synced 2025-01-24 03:27:07 +01:00
HTTPS required (redirect from HTTP)
This commit is contained in:
parent
7c30cf3caf
commit
4dcf1d5efa
2
bitcoin_
2
bitcoin_
@ -26,7 +26,7 @@ script = File.basename($0)
|
|||||||
$stderr = IO.new(2, "w")
|
$stderr = IO.new(2, "w")
|
||||||
|
|
||||||
def uri(currency)
|
def uri(currency)
|
||||||
"http://api.bitcoinaverage.com/ticker/#{currency}" # HTTPS supported
|
"https://api.bitcoinaverage.com/ticker/#{currency}"
|
||||||
end
|
end
|
||||||
|
|
||||||
def echo_price(currency, data)
|
def echo_price(currency, data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user