This commit is contained in:
2025-11-10 16:58:46 +01:00
parent e8cd34f88f
commit e113616abf

View File

@@ -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'