From bcd2fd613ec7a29b05ab90dc4739e974c2060811 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 8 May 2025 18:19:28 +0200 Subject: Change non-modifying AJAX requests from POST to GET --- modules-available/systemstatus/templates/systeminfo.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules-available/systemstatus') diff --git a/modules-available/systemstatus/templates/systeminfo.html b/modules-available/systemstatus/templates/systeminfo.html index 2489bcaa..3cb19861 100644 --- a/modules-available/systemstatus/templates/systeminfo.html +++ b/modules-available/systemstatus/templates/systeminfo.html @@ -117,7 +117,7 @@ setTimeout(updateSystem, 2500); return; } - $.post('?do=SystemStatus&action=SysPoll', {token: TOKEN}, function (data) { + $.get('?do=SystemStatus&action=SysPoll', function (data) { if (memCircle && data.MemPercent) memCircle.update(data.MemPercent); if (swapCircle && data.SwapPercent) swapCircle.update(data.SwapPercent); if (cpuCircle && data.CpuIdle) { -- cgit v1.2.3-55-g7522