fix(ui): sendDisplayCmd nutzt SCREEN_SLUG statt printf %q (URL-Escaping-Bug)
This commit is contained in:
parent
dc16a0fbd0
commit
e7776720c8
1 changed files with 1 additions and 1 deletions
|
|
@ -1137,7 +1137,7 @@ function showToast(msg, type) {
|
|||
|
||||
// ─── Display control ─────────────────────────────────────────────
|
||||
function sendDisplayCmd(state) {
|
||||
var slug = {{.Screen.Slug | printf "%q"}};
|
||||
var slug = SCREEN_SLUG;
|
||||
fetch('/api/v1/screens/' + slug + '/display', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue