From e113616abf5384b9363fa05558ccae3c857cca53 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Mon, 10 Nov 2025 16:58:46 +0100 Subject: [PATCH] fix --- apps/ui/templates/dashboard.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ui/templates/dashboard.html b/apps/ui/templates/dashboard.html index 6e0f4ad..66b848f 100644 --- a/apps/ui/templates/dashboard.html +++ b/apps/ui/templates/dashboard.html @@ -767,7 +767,7 @@ const newTarget = Math.max(5.0, Math.min(30.0, currentTarget + delta)); try { - const response = await fetch(`/api/devices/${deviceId}/set`, { + const response = await fetch(api(`/devices/${deviceId}/set`), { method: 'POST', headers: { 'Content-Type': 'application/json'