Fix Glance Speedtest subrequest headers

This commit is contained in:
2026-05-17 18:18:14 +02:00
parent 2dd5590a2a
commit 669efbd57e
+1 -1
View File
@@ -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") }}