Fix Glance Speedtest subrequest headers
This commit is contained in:
@@ -149,7 +149,7 @@ pages:
|
||||
url: http://speedtest-tracker/api/v1/stats
|
||||
headers:
|
||||
Authorization: Bearer ${GLANCE_SPEEDTEST_API_TOKEN}
|
||||
Accept: application/json
|
||||
Accept: application/json
|
||||
template: |
|
||||
{{ $stats := .Subrequest "stats" }}
|
||||
{{ $downloadChange := percentChange (.JSON.Float "download_bits") ($stats.JSON.Float "avg_download") }}
|
||||
|
||||
Reference in New Issue
Block a user